Closed Grsmto closed 11 years ago
I like this. I don't think you need to attach flashScrollbar to scroll or mouse enter if it's always visible..
You are true for the mouseEnter event binding. But we need to call flashScrollbar on scroll because it also check for scrollbar resize. Thank you.
This is great. Sorry it has taken me so long to merge the PR!
Hi,
I added an option to disable the autohide feature. As I think this plugin is really useful even without that. Sometimes you don't want to have to mouse over an area to know that this is scrollable (when content is not obviously "cutted"). Or even if you don't have a mouse as input device you will not see the scrollbar (tv? touch devices? etc.).
You can test the option in the demo file with this:
$('.demo1').TrackpadScrollEmulator({ 'autoHide':false });
Readme is updated with option usage.
Thanks for your plugin that I really appreciate.
I would like to add more features/examples like scrollbar customization and mobile support. Tell me what you think.