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

When page is scrolled to the bottom, scroll-to does not work #21

Open
ashakiddyup opened this issue Mar 15, 2015 · 4 comments
Open

When page is scrolled to the bottom, scroll-to does not work #21

ashakiddyup opened this issue Mar 15, 2015 · 4 comments

Comments

@ashakiddyup
Copy link

When page is scrolled to the bottom, scroll-to does not work. I found an work around for this as below

var getScrollLocation = function() {
return window.pageYOffset ? window.pageYOffset -1: document.documentElement.scrollTop-1;
};

or var startLocation = getScrollLocation()-1,

Could you fix this please?

@rebelliard
Copy link

I can confirm the bug.

@zsoltszabo
Copy link

I have the bug too

@cyrilepinat
Copy link

I confirm this bug too on IE10

@harm-less
Copy link

It happens in Firefox too. In Chrome however it does work...

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

5 participants