-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle orphaned gestures. #60
Comments
(closes #2151), (see also d3/d3-zoom#60, d3/d3-brush#18) Intercept `mousedown` and check if there is an orphaned zoom gesture. This can happen if a previous `mousedown` occurred without a `mouseup`. If we detect this, dispatch `mouseup` to complete the orphaned gesture, so that d3-zoom won't stop propagation of new `mousedown` events.
May I get an update on this? This affects all of my scripts that use The bug occurs in iOS and Android, across all browsers I tried (though I wasn't exhaustive). Is there a workaround? |
The equivalent of d3/d3-brush#18, but for d3-zoom. If the browser fails to deliver a mouseup (or touchend or touchcancel) event, the active gesture can get orphaned, in which case no new gestures can start or end.
The text was updated successfully, but these errors were encountered: