paper-leaf / alton

Alton is a jQuery-powered scrolling plugin, with a twist.
http://paper-leaf.com/alton-jquery-scroll-jacking-plugin/
217 stars 34 forks source link

Scroll Bar Does Not Track Scroll Position #2

Open paper-leaf opened 9 years ago

paper-leaf commented 9 years ago

Bug pointed out by JosephLeo on reddit.

OS: Windows 7 Browser: Google Chrome Bug: Scroll to the bottom of the page using the scrollbar. Scroll down again, this time using the mousewheel.

You will see it scroll "up" to the next "scroll state" instead of the expected "do nothing" action since you're at the bottom of the page already and can't go down any further.

d4nyll commented 9 years ago

Currently experiencing the same issue

paper-leaf commented 9 years ago

@d4nyll Thanks for bumping this issue. We finally have a fix on the way for this, we're just testing it out and we hope it will be out shortly.

d4nyll commented 9 years ago

As the author of smartscroll, I'd be very interested in how you're fixing this. Looking forward to it!

ntan97 commented 9 years ago

@d4nyll We've just updated Alton now to updated this. In the current implementation we now track when the user is done scrolling the scrollbar and triggering the getCurrentPosition() function, which updates the current slide.

you can see full details in the latest commit 771ed4d57f1588c3eb92e23c5891db24703ca53f