8me5yg
Last Updated: December 26, 2018
·
16.45K
· erasmospunk

Smooth overflow scrolling in iPhone/iPad

If you try to scroll on iPhone/iPad a div content that is marked as overflow:scroll you will be disappointed. The scrolling feels unnatural as the "inertial scrolling" is not working. As a workaround add the following to your CSS:

overflow:scroll
-webkit-overflow-scrolling: touch;