ngSmoothScroll icon indicating copy to clipboard operation
ngSmoothScroll copied to clipboard

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

Open ashakiddyup opened this issue 9 years ago • 4 comments

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?

ashakiddyup avatar Mar 15 '15 09:03 ashakiddyup

I can confirm the bug.

rebelliard avatar May 29 '15 06:05 rebelliard

I have the bug too

zsoltszabo avatar Jul 01 '15 09:07 zsoltszabo

I confirm this bug too on IE10

cyrilepinat avatar Oct 16 '15 16:10 cyrilepinat

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

harm-less avatar Dec 15 '15 11:12 harm-less