-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
When I use the multi-touch gesture on a mobile device, there may be a 'pointercancel' event fired under some situations. In this situation, the Gesture instance is not disposed because the code is waiting for the 'pointerup' event, and the following events are all affected by the Gesture.
We can make the 'pointerup' event listener to also listen to the 'pointercancel' event, and I will try to commit a PR to fix this problem.
Reproduction steps
- Try to use two fingers to pinch the workspace and hold the fingers on the screen
- Try to fire a 'pointercancel' event, for example, move the two fingers very close
- Release the fingers, and try to move the workspace by a finger, you can find that the moving action is abnormal
Stack trace
NoneScreenshots
VID_20250723_113041.mp4
Browsers
No response
Metadata
Metadata
Assignees
Labels
issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong