Increase time tolerance for discarding iOS 13.4 mouse pointerenter event

This commit is contained in:
Quincy Morgan
2020-05-21 12:34:19 -04:00
parent 5cb23acc00
commit ca80926db7

View File

@@ -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