interact.js icon indicating copy to clipboard operation
interact.js copied to clipboard

fix: click event below iOS 13 do not take effect

Open DAHUIAAAAA opened this issue 1 year ago • 1 comments

fix: #859, #812

IOS devices below version 13 don't support pointer events. When a user clicks on a div, it will trigger a touchend event. However, the touchend event in the code is not properly filtered, and it will become ineffective due to the call to e.preventDefault.

normal: image

iOS 11、12: image

Pointer Compatibility: image

DAHUIAAAAA avatar Dec 03 '23 14:12 DAHUIAAAAA

@taye hi~ could you have a look? 👀

DAHUIAAAAA avatar Dec 03 '23 14:12 DAHUIAAAAA