Css overflow:scroll does not work on mobile


I have a website and I want to display comments in a div. I tried to use an overflow scroll div but it overflowed on mobile devices. It does work on my computer What am I doing wrong?


add this css code to your container with overflow scroll.

-webkit-overflow-scrolling: touch;

Answered By – zaphkiel

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published