Sep 17, 2013

[Solved] Smooth Div Scrolling in iPad Browser (or iPhone / iOS Devices)

Posted Sep 17, 2013
If you have a scrollable div using overflow: auto or overflow: scroll, you will notice that the scroll is slow or choppy. To make the inline scroll smooth, just add the following in your css class:

-webkit-overflow-scrolling: touch;

E.g.

#SCROLLABLE_DIV {
  height: 300px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

1 comment: