We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080
可以消除吗。
The text was updated successfully, but these errors were encountered:
@Clound-11 感谢对本组件的支持! 近期会抽空研究一下这个问题。目前的考虑是移除触摸事件中 preventDefault 函数的调用。
Sorry, something went wrong.
@Clound-11 发现一种通过 css 设置解决控制台警告的方式:
.wx-image-viewer .viewer-image-container { touch-action: none; }
给绑定 touchstart 的 Dom 元素加上 touch-action: none; 即:当触控事件发生在元素上时,不进行任何操作。
具体参考 touch-action
同问,控制台信息能删掉吗?
lidianhao123
No branches or pull requests
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080
可以消除吗。
The text was updated successfully, but these errors were encountered: