I have the following issue and I don't know what exactly am doing wrong.
I have my path and my element which is following the path, it goes really well until the end, in wider screens you can see that the element starts to go down until it's not seen, then goes backwards when still scrolling down, also in any screen I'd like for it to stop when it reaches the end and go up again when scrolling up (also that the element could always stay at the center of the screen while it follows the path).
https://codesandbox.io/s/hidden-framework-klztsw?file=/src/App.js
This is my codesandbox to show you what I've been doing
Is there a way to fix this? I'm desperate I've been looking at this and searching for hours haha
it may have a lot of issues, I'm just starting sorry about that ?
Thanks!!