For the very first time I am working on iPhone App using JQueryMobile + PhoneGap. I have a div container which acts like a popup and I have given it a max-height, with overflow:auto and -webkit-overflow-scrolling: touch.
I wanted to make the scroller always visible and tried this css rules ( for testing I used the same psedu both on element and as a global style. But not sure if it works this way! )..
.info-wrapper-content::-webkit-scrollbar, ::-webkit-scrollbar {
-webkit-appearance: none;width: 8px;
height: 13px;
}
.info-wrapper-content::-webkit-scrollbar-thumb:vertical{
height: 50px;
background-color: #D95649;
-webkit-border-radius: 0px;
visibility: visible;
}
It's working great on Desktop Safari or Chrome and it's always visible!But Not on Mobile Safari or Phonegap Application! Is ::-webkit-scrollbar is supported by Mobile Safari?
I really don't wanted to use any additional scroll plugin like iScroll. What's the problem? Why the same code is behaving different? Please do some advice.