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 }}
Repository navigation
Calling preventDefault on touchmove seems to prevent click generation on WPE unlike Chrome, Safari or Firefox #1732
We use maplibre and had an issue where taps were not getting registered. We eventually narrowed it down to maplibre calling e.preventDefault() on touch moves, which on Firefox, Chrome and Safari would not prevent the click event from happening, but on WPE it would.
I have opened a ticket that maplibre should not call preventDefault unconditionally on touchmove: maplibre/maplibre-gl-js#8602 .
AI suggest the problem in WPE click generation getting canceled is here, where the comment says that "If the touch event was handled, we must interrupt any gesture detection sequence ongoing so that gestures are not detected by engine itself.". Again, this matches the spec, but not my experience of how Firefox, Chrome and Safari work.
Activity