ngSmoothScroll icon indicating copy to clipboard operation
ngSmoothScroll copied to clipboard

fix for container calculations

Open Traksewt opened this issue 9 years ago • 2 comments

Calculating the end location was checking all parents. It should stop when it reaches the given container.

The window.internalHeight was interfering with the container animation exit calculations.

A threshold is added to stop the animation going on for a long time when the difference is less than a pixel.

Traksewt avatar Sep 03 '15 14:09 Traksewt

adding package.json for webpack installation.

Traksewt avatar Apr 12 '16 02:04 Traksewt

Thanks! This was much better than the fix I came up with (which didn't take into account any potential offsets).

samsullivan avatar Mar 30 '17 20:03 samsullivan