IOS Webkit-overflow-scrolling:touch Trampling Notes

Source: Internet
Author: User

-webkit-overflow-scrolling:touch; /* When the finger is removed from the touchscreen, it will keep rolling for some time/

-webkit-overflow-scrolling:auto; /* When the finger is removed from the touchscreen, the scroll stops immediately */

Overflow:auto or scroll is not valid under iOS, you need to use the-webkit-overflow-scrolling property
However, "This feature is non-standard, please try not to use it in a production environment!" ”

The rubber band event causes the lag and takes a few seconds before it returns to normal.

Solution is
-webkit-overflow-scrolling:touch; /*makes overflown OBJECTS have inertia scrolling*/
-webkit-transform:translatez (0px); /*helps the ABOVE work in ios5*/
-webkit-transform:translate3d (0,0,0); /*helps the ABOVE work in ios8*/
-webkit-perspective:1000; /*helps the ABOVE work in ios8*/

IOS Webkit-overflow-scrolling:touch Trampling Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.