-
Notifications
You must be signed in to change notification settings - Fork 425
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
How to disable double click zoom #341
Comments
I also have this issue. But I used 'dblclick' in array and double click is disabled. |
I am using react-simple-maps 3.0.0-beta.6
I am using the
useZoomPan
hook to create a control.I am disabling zoom on scroll with
filterZoomEvent
, but also noticed that there's zoom-in behavior on double-click. It'd like to disable this.I've tried handling the click event for geographies and running event.preventDefault() with no luck.
I've also noticed that geography.onDoubleClick no longer fires after adding a ZoomableGroup.
My CustomizableZoomGroup:
The text was updated successfully, but these errors were encountered: