Custom scrollbars are visible on page load
Closed this issue · 3 comments
TooTallNate commented
When .anitscroll()
is first called, the scrollbars are visible on the <div>
until you hover the mouse over the div and back out.
rauchg commented
Intended behavior. We can maybe make it an option… the idea is showing the user "look, you can scroll this element". It goes away after 3 seconds
TooTallNate commented
Ahhh, confirmed. 3 seconds. Agreed it should be configurable though; the duration as well.
$('div').antiscroll({ initialDisplay: 3000 }); // 3 seconds
$('div').antiscroll({ initialDisplay: false }); // don't display
rauchg commented
Agreed 100%.