Open ashakiddyup opened 9 years ago
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?
I can confirm the bug.
I have the bug too
I confirm this bug too on IE10
It happens in Firefox too. In Chrome however it does work...
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?