9

I have a stylesheet and use overflow:scroll; in my css to blend in scrollbars. It works in Firefox but not on my iPad in the safari browser. There, no scrollbars are shown but it is possible to scroll with two fingers.

Now, is that normal that iPad doesn't show scrollbars? That would be stupid somehow.

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
enne87
  • 2,221
  • 8
  • 32
  • 61
  • http://stackoverflow.com/questions/3845445/how-to-get-the-scroll-bar-with-css-overflow-on-ios – rmagnum2002 Nov 22 '11 at 15:17
  • The iPad (iOS) does not show scroll bars until you scroll, it is part of their design. – ToddBFisher Nov 22 '11 at 15:17
  • 1
    Thanks for the responses. I tried it with -webkit-overflow-scrolling: touch and I also scrolled with two fingers, but it still doesn't show scrollbars. – enne87 Nov 22 '11 at 15:24

2 Answers2

11

You might want to turn it on with: -webkit-overflow-scrolling: touch;

ŁukaszBachman
  • 33,595
  • 11
  • 64
  • 74
5

Yes, I believe that is normal behaviour from iOS3 and upwards.

You might want to check it on android, as android does not support overflow:scroll at all, from what I am aware (no two fingers, no scroll bar, no way to view content beyond the fold)

More information on iphone/ipad scrolling

Samuel Katz
  • 24,066
  • 8
  • 71
  • 57
gArn
  • 421
  • 3
  • 9