Automattic/antiscroll

Custom scrollbars are visible on page load

Closed this issue · 3 comments

When .anitscroll() is first called, the scrollbars are visible on the <div> until you hover the mouse over the div and back out.

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

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

Agreed 100%.