ng2-scroll-to
ng2-scroll-to copied to clipboard
Scrolling target Problems
I'm having problems with the scrollTargetSelector. Sometimes it doesn't go anywhere near the element and sometimes it goes past it.
For example, setting a target id at the start(heading) of table row or a div , it will scroll to the middle of the row instead of the point where the selector is present.
Another strange thing the scrolling does is go to the top of the page if the element is on the top half of the page.
Same. Scrolling wildly overshoots element, no matter where I put my selector (id) it wants to go to the top, nowhere near the referenced id.