mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Increase time tolerance for discarding iOS 13.4 mouse pointerenter event
This commit is contained in:
@@ -161,7 +161,7 @@ export function uiPopover(klass) {
|
||||
// only allow hover behavior for mouse input
|
||||
return;
|
||||
} else if (_lastNonMouseEnterTime &&
|
||||
d3_event.timeStamp - _lastNonMouseEnterTime < 500) {
|
||||
d3_event.timeStamp - _lastNonMouseEnterTime < 800) {
|
||||
// HACK: iOS 13.4 sends an erroneous `mouse` type pointerenter
|
||||
// event for non-mouse interactions right after sending
|
||||
// the correct type pointerenter event. Workaround by discarding
|
||||
|
||||
Reference in New Issue
Block a user