Automattic / antiscroll

OS X Lion style cross-browser native scrolling on the web that gets out of the way.
1.07k stars 162 forks source link

update on resize #13

Closed dodo closed 12 years ago

dodo commented 12 years ago

i think the scrollbars need to be updated when the window resizes and when the inner content grows.

rauchg commented 12 years ago

Why? The window resizing doesn't necessarily mean your container changes

dodo commented 12 years ago

when i have a scrollable sidebar then it is resizing.

rauchg commented 12 years ago

You should probably handle that independently for your use case.

$(window).resize(function () { $('.bla').antiscroll(); });
dodo commented 12 years ago

thank you very much.