简体   繁体   中英

iScroll not working in iOS device

I already have an app. Im trying to integrate iScroll for faster scroll in iOS.

So created iScroll instance on the element having "overflow:auto" as specified in http://iscrolljs.com

Android has no issues. But iOS doesn't scroll at all.

Anything else do I need to do to let this work in iOS ?

I think my answer can help someone who is stuck with iScroll.

In the existing app, just check if there are any transitions already added on the element. As these will override the transition added by iScroll.

in iOS 10 scrolling is not smooth, use {'useTransition': false} for smooth scroll. But iOS 11 works fine without this.

These will be ignored sometimes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM