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

ios 微信浏览器上 ImagePreview 图片点击和长按事件冲突 #610

Open
Kindreem opened this issue Oct 11, 2019 · 3 comments
Open

Comments

@Kindreem
Copy link

Kindreem commented Oct 11, 2019

长按会触发点击事件导致 ImagePreview关闭

@dolymood
Copy link
Contributor

preventDefault prop 如果设置为 false 呢

@Kindreem
Copy link
Author

设置了安卓可以,但ios还是不行。

@dolymood
Copy link
Contributor

dolymood commented Oct 12, 2019

实验了下,原生情况下的click,在长按的时候也是会触发click事件的,这个可能就不那么容易来做了

我这边再考虑下实现

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

No branches or pull requests

2 participants