Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #21 "When page is scrolled to the bottom, scroll-to does no… #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jodoherty
Copy link

Discussed here: #21

This issue occurs whenever the container or window is already scrolled
to the bottom and the easing method causes less than 1px of scrolling
for the first scroll animation update.

My fix works by requiring at least 1px of scrolling per animation
update. This causes the stopAnimation check to always pass instead of
prematurely failing on the first scroll animation update.

…t work"

Here: #21

This issue occurs whenever the container or window is already scrolled
to the bottom and the easing method causes less than 1px of scrolling
for the first scroll animation update.

My fix works by requiring at least 1px of scrolling per animation
update. This causes the stopAnimation check to always pass instead of
prematurely failing on the first scroll animation update.
@parataku
Copy link

parataku commented Jun 3, 2016

I can confirm that this fix works as intended.

@mbirnbaum
Copy link

Is this merged into the main branch?

@sadlerw
Copy link

sadlerw commented Aug 2, 2017

@d-oliveros @jodoherty is this project dead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants