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

fix: click event below iOS 13 do not take effect #1022

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DAHUIAAAAA
Copy link

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
Copy link
Author

@taye hi~ could you have a look? 👀

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

Successfully merging this pull request may close these issues.

Click/tap events not fired as expected
1 participant