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

Any chance of auto-showing the scrollbar? #29

Closed jasonelliott closed 12 years ago

jasonelliott commented 12 years ago

Hi

I've tried setting initialDisplay, and also tried manually triggering scroll(), mouseenter(), mousewheel() and a bunch of other hacks, but I just can't seem to make the scrollbar appear immediately. I can make the scrollbar appear on mouseover of the element (a popup menu - see the "Choose Your Daddy-O" menu here in bottom left of screen http://campaigns.myer.com.au/FathersDay). But I can't seem to trigger it to auto-show as soon as the menu appears.

Any help appreciated. Cheers Jason

rauchg commented 12 years ago

My guess is that it is displaying, but maybe while the menu is hidden or sth. We should probably expose a method to show the scrollbar on demand.

jasonelliott commented 12 years ago

You could be right Guille, the flyout menu does animate in. I'll keep digging... Thanks for the prompt response

rauchg commented 12 years ago

Also good work on the website, nice implementation of antiscroll

jasonelliott commented 12 years ago

Thanks. Cheers!