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

触屏电脑上,点击事件失灵 #19

Open
wkjin opened this issue Apr 21, 2019 · 1 comment
Open

触屏电脑上,点击事件失灵 #19

wkjin opened this issue Apr 21, 2019 · 1 comment

Comments

@wkjin
Copy link

wkjin commented Apr 21, 2019

触屏电脑上,点击事件有时候失灵(有时候点击的位置不对,有时候获取不到点击事件)

@flying4055
Copy link

flying4055 commented Jan 27, 2021

        // isSupportTouch = "ontouchend" in document ? true : false;
        isSupportTouch = !document.ontouchend;

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

No branches or pull requests

2 participants