Last Updated: August 23, 2018
· 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:

-webkit-overflow-scrolling: touch;

1 Response
Add your response


Is there a way to prevent the momentum scrolling on desktop (using a magic mouse or trackpad) as well as on iOS? I have been searching for a long time, but without luck.
https://discord.software/ . https://adobereader.onl/ https://itunes.red/

3 months ago ·