react-scroll
react-scroll copied to clipboard
How to scroll to an element defined in dependency (installed in node_modules)?
Hi, I have an <Element name='somename'>...</Element> defined in a library.
And In the project using this library - scroller.scrollTo('somename', { smooth: true, duration: 500 })
Scrolling is not working - there is a warning in the browser that the scrolling target cannot be found (even though it is rendered).
Is there a way to resolve this with react-scroll?