-
Notifications
You must be signed in to change notification settings - Fork 230
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
使用IScroll遇到的一些坑 #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
一、IScroll移动端很卡,不流畅
只需要给wrapper元素加上:touch-action:none !important; 即可,不允许默认的touch行为。
二、在手机页面上onclick事件失效
在实例化IScroll时把click选项设置为true即可,也就是需要手动派发事件,不要设置preventDefault
The text was updated successfully, but these errors were encountered: