Scrolling with Magic
caneco opened this issue · 1 comments
Hello,
Have you tried to scroll your demo with an Apple Magic Mouse? It's always passing 2 slides each time.
Hi Caneco, thanks for getting in touch!
smartscroll does not currently support touch events, such as on mobiles; it also has not been optimized for trackpads or the Apple Magic Mouse, so what you reported is expected.
I think the issue is similar to this issue on jquery/jquery-mousewheel, where momentum (or inertia) scrolling means scroll events are being fired long after the fingers left the trackpad or mouse. Have a look at this demo.
I will investigate the best solutions and try to implement it. I will close this issue and open a more general issue regarding momentum / inertia scrolling. If you have any ideas of how to tackle this, please do comment there.
As always, pull requests are welcomed!