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

建议增加longtap事件? #24

Open
AnsonCode opened this issue Oct 9, 2020 · 2 comments
Open

建议增加longtap事件? #24

AnsonCode opened this issue Oct 9, 2020 · 2 comments

Comments

@AnsonCode
Copy link

在手机端使用dbltap时,经常出现问题,建议支持longtap,以代替dbltap。

@AnsonCode
Copy link
Author

经过测试发现:当第一层次点击对象时,tap和dbltap正常,当第二次点击同一个对象时,tap和dbltap会同时发生,不知道原因?

@AnsonCode
Copy link
Author

touchup事件和tap事件经常混淆,例如:我touchdown后,touchmove,然后touchup,这个时候会触发tap事件,感觉不合理.应该修改为:有touchmove事件时,默认取消tap事件.

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

1 participant