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

Wrong position when scrolling up #13

Open
tjakober opened this issue Mar 23, 2014 · 0 comments
Open

Wrong position when scrolling up #13

tjakober opened this issue Mar 23, 2014 · 0 comments

Comments

@tjakober
Copy link

When scrolling up, the scroll position is out of view. It moves too far.
on Source code Line 55 should be:
if (elY <= pY) scrollTo(pEl, elY-pH); // scroll up
instead of
if (elY <= pY) scrollTo(pEl, elY); // scroll up

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

No branches or pull requests

1 participant