joehewitt / scrollability

Imitates iOS native scrolling in JavaScript.
http://joehewitt.github.com/scrollability
Other
1.78k stars 146 forks source link

How the scroll wrapper should function! #21

Closed lifeiscontent closed 13 years ago

lifeiscontent commented 13 years ago

I believe the wrapper should adhere to standards.

If you set your navigation-bar/tab-bar to fixed they become absolute positioned elements in Mobile Devices.

then if you set your content area to overflow-y: auto; you now have a vertical scroller inside of a desktop browser..

I think scrollablity should take advantage of this knowledge unless you decide to develop addition features that aren't currently supported in Desktop browsers.

joehewitt commented 13 years ago

That would be cool, but prohibitively expensive to find and maintain the list of all elements that have the overflow-y CSS property set on them.