You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2024. It is now read-only.
Important bugfix: prevent events from bubbling up to leaflet
There are interaction issues around combining React and "native"
javascript components. We want to prevent events (eg double-click) on
the sidebar from interacting with the underlying leaflet map.
However, we can't just add onDoubleClick to our react markup, because
React synthesises events by installing a single global event handler
at the document, by which time they have already been caught by
leaflet. So, we need to attach native javascript handlers for
everything we want to stop bubbling up.
0 commit comments