Reputation:
I've got a DIV whose contents are about 2000 pixels wide. The DIV is maybe 150 pixels high and doesn't scroll vertically (or need to). However I do need it to scroll horizontally. This does happen... on iOS 5.0. On iOS 4.3 for some reason it isn't working.
The pertinent CSS for this DIV seems to be:
overflow:scroll;
margin:0;
height:auto;
Can anyone explain how I can make this scroll properly on 4.3? Thanks.
Upvotes: 0
Views: 600
Reputation: 1
Check out https://github.com/richardscarrott/jquery-ui-carousel, he's implemented a simple and straightforward plugin for scrollable carousels that seems to work just fine in iOS.
Upvotes: 0
Reputation: 3758
overflow: scroll is only supported in iOS5+. That's the long and short of it.
You could mock the feature by using a library like iScroll, but I don't recommend it. The scrolling performance is terrible and memory usage is unacceptable.
Upvotes: 1