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
The moveend event behaves differently during single-touch and multi-touch input.
During single touch, the moveend event is fired when the gesture finishes (finger is no longer touching the screen). During multi-touch, eg. two fingers touching the screen at the same time, moveend is fired on every single animation frame for the duration of the gesture.
mapbox-gl-js version: Master
Steps to Trigger Behavior
Bind an event listener to 'moveend'
Two finger rotate / pinch on a mobile device
The event listener will now fire during the pinch / rotate gesture
Expected Behavior
'moveend' fires when user gesture is finished and any optional inertia have stopped playing during both multi-touch and single-touch gestures.
Actual Behavior
'moveend' fires constantly during multi-touch user gestures and at the end of single-touch gestures.
Issue
The moveend event behaves differently during single-touch and multi-touch input.
During single touch, the
moveend
event is fired when the gesture finishes (finger is no longer touching the screen). During multi-touch, eg. two fingers touching the screen at the same time,moveend
is fired on every single animation frame for the duration of the gesture.mapbox-gl-js version: Master
Steps to Trigger Behavior
Expected Behavior
'moveend' fires when user gesture is finished and any optional inertia have stopped playing during both multi-touch and single-touch gestures.
Actual Behavior
'moveend' fires constantly during multi-touch user gestures and at the end of single-touch gestures.
Tested in iOS10 Safari and Android Chrome.
Kinda related to #1104
The text was updated successfully, but these errors were encountered: