mapbox / mapbox-gl-draw

Draw tools for mapbox-gl-js
https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/
ISC License
942 stars 590 forks source link

touch event is not compatible with mapbox-gl v1.10.1 and above #1054

Open Reye-f opened 3 years ago

Reye-f commented 3 years ago

When I use the version described below, the mobile terminal loads mapbox-gl-draw, the console will report an error "Unable to preventDefault inside passive event listener invocation". I quickly touch the screen twice, and then move the map on the second touch , There will be even more weird phenomena. If I use mapbox-gl-js v1.10.1 or lower, there will be no problem

mapbox-gl-js version:v2.2.0 mapbox-gl-draw version:v1.1.1

Reye-f commented 3 years ago

wnjka-m6lla

avpeery commented 3 years ago

Linking issue #1019