Reputation: 1047
The scroll-bar thumb size keeps increasing when I scroll a 'overflow-y:scroll' div in iPad. Any idea how to fix this design break??
position: absolute;
max-height: 200px;
overflow-y: scroll;
overflow-x: hidden;
The above is the basic style set for the element.
This is how it looks in iPad as scrolled to almost bottom of the div.
This is the expected behaviour :
Upvotes: 4
Views: 967
Reputation: 402
Try to use native scrolling with: -webkit-overflow-scrolling: touch;
Safari Developer Library Reference
I tried to reproduce this behaviour with the ipad simulator http://codepen.io/anon/pen/kApKB
The problem could also be the variable height.
Upvotes: 1