react-scroll icon indicating copy to clipboard operation
react-scroll copied to clipboard

Possible issue scrolling to embedded elements

Open bendugan opened this issue 5 years ago • 1 comments

Not sure if this is expected behavior, but as of 1.7.16, scrollTo(element) is no longer scrolling to elements that are embedded in a scrolling container. It seems to work in 1.7.14.

I've created a plunker https://next.plnkr.co/edit/DJ03fFKbGltuw1IW?preview

D7 is one element of many in a scrolling container and it works fine. D8 and D9 are elements embedded within other elements, and scrolling to them does not work.

bendugan avatar Feb 06 '20 05:02 bendugan

I confirm this issue in latest version to date, 1.8.1.

tirmey avatar Nov 17 '20 20:11 tirmey