Recently I am also using IScroll to do projects, and I find that more and more mobile phones after Android 5.0 are incompatible, especially when making single pages. Recently I am using this Swiper [1]: http://www .swiper.com.cn/, the document is in Chinese and has been published for several versions. So far, we have not encountered any compatibility issues
For local scrolling, the easiest way is to use IScroll. Just instantiate it directly. new IScroll("",) ""Inside is the selector.
The following JS code can be used as a reference, which can not only achieve rebound, but also reflect the rapid sliding of gestures.
isscroll can do this effect. If you are asking about the native implementation, you can take a look at the source code.
Portal
Do you mean elastic scrolling
Recently I am also using IScroll to do projects, and I find that more and more mobile phones after Android 5.0 are incompatible, especially when making single pages. Recently I am using this Swiper [1]: http://www .swiper.com.cn/, the document is in Chinese and has been published for several versions. So far, we have not encountered any compatibility issues