jamesflorentino / nanoScrollerJS

A jQuery plugin that offers a simplistic way of implementing Lion OS scrollbars.
http://jamesflorentino.github.com/nanoScrollerJS/
MIT License
2.69k stars 502 forks source link

Fix: when dragging the slider, the mouse movements get attached to the s... #260

Closed mirovit closed 10 years ago

mirovit commented 10 years ago

When the nanoScroller is created dynamicly within a select2 instance, there is an issue - when you start dragging the slider with the mouse, after releasing it (if it is not at the top or bottom) the mouse movement gets translated as scroll.

To fix it I added an event listener for mouseleave.

kristerkari commented 10 years ago

Thanks, I'll try to find to time to review / test this.

kristerkari commented 10 years ago

@mirovit I noticed that this PR removes readme.html which is auto generated and required by the website. Could you fix that?

kristerkari commented 10 years ago

also the _SpecRunner.html is needed because the test do not currently run from command line.