Consistent map click&drag events when clicking on pickable polygon feature #5387
thomasgwatson
started this conversation in
General
Replies: 1 comment 1 reply
-
By "clicking" do you mean pressing down? Does the problem go away if you remove the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
Context:
We have a bunch of polygons in a layer. They are
pickable
and haveonHover
andonClick
callbacks. We ensure those callbacks return 'falsey' values, so that mouse events can bubble (before we did this falsey return, clicking on the features to drag the map around didn't work at all).However, dragging the map around when clicking on those features doesn't always register. It's almost 60% effective to drag the map on these features (off the features it is flawless).
Does anyone know of any gotchas that we might have missed with ensuring mouse events still bubble properly?
Sample layer here:
Beta Was this translation helpful? Give feedback.
All reactions