You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.
Updated root document touch event listeners to use passive mode improving scrolling performance and reducing crashes
If you use preventDefault option as true(it's default), you would not worry about it. it will work OK.
But If you use preventDefault option as false, you should check touchmove handler (which does e.preventDefault()) on root document have {passive:false} like following.
varmyScroll=newIScroll('#wrapper',{preventDefault: false}// You should check touchmove handler have `passive:false`document.addEventListener('touchmove',function(e){e.preventDefault();},{passive: false});
Is there any solution?
bindToWrapper option is true, passive:false is not needed.
The text was updated successfully, but these errors were encountered:
jongmoon
changed the title
iOS 11.3 (Safari 11.1) Issue & My Solution
iOS 11.3 (Safari 11.1) Breaks & My Solution
Apr 30, 2018
By updating iOS 11.3, iScroll is affected by a Safari 11.1 change.
I think #1231 could be related with this updates.
It is
passive
mode policy.https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_11_1.html#//apple_ref/doc/uid/TP40014305-CH14-SW2
You can find that
If you use preventDefault option as true(it's default), you would not worry about it. it will work OK.
But If you use preventDefault option as false, you should check
touchmove
handler (which does e.preventDefault()) on root document have{passive:false}
like following.Is there any solution?
The text was updated successfully, but these errors were encountered: