Skip to content
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

touchmove event changed in v1.10, not fired when map is moved #9676

Closed
fcandi opened this issue May 11, 2020 · 3 comments
Closed

touchmove event changed in v1.10, not fired when map is moved #9676

fcandi opened this issue May 11, 2020 · 3 comments

Comments

@fcandi
Copy link

fcandi commented May 11, 2020

mapbox-gl-js version: 1.10.0

browser: Chrome

Steps to Trigger Behavior

touchmove event is not fired when moving the map on touch devices

Expected Behavior

Touchmove event should be fired whenever the map moves on touch devices, as it is in all versions prior to 1.10.0

Actual Behavior

The touchmove event is only fired when a draggable marker is moved on touch devices

@karimnaaji
Copy link
Contributor

karimnaaji commented May 11, 2020

@fcandi Thanks for the report, I created a comparison example to identify whether this is a regression.

This part of the code seems covered by unit tests, but I can confirm this is a regression in v1.10.0 as I just tested and compared on iOS.

cc @ansis

@fcandi
Copy link
Author

fcandi commented May 12, 2020 via email

@karimnaaji
Copy link
Contributor

@fcandi Will be available as part of v1.10.1, thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants