Forced Jump to Section when Scrolling?
This works great for jumping to different sections by menu but I have been experiencing an issue when scrolling manually. I see a forced jump to a section when a small part of a section is within view. Is there any way to turn that off? It almost reminiscent of the forced scrolling you sometimes see which leaves the user feeling out of control. See example here: https://tinyurl.com/y7rswsoy
Hi @gabergg Would appreciate any insight you have on the above issue?
Updated original answer with the following example ... https://tinyurl.com/y7rswsoy
Is there any insight into this? I too, have an issue where browser automatically scrolls to the top of the anchor div, thus hijacking the scrolling action.
+1! help!
I am also experiencing this issue. Had anyone been able to fix this?
Afraid not. I ended up using react-anchor-link-smooth-scroll which has been working a treat
I am experiencing this too. Probably not using the library as intended. My goal is to scroll to a section when a link is clicked, this works as intended, but when scrolling manually to the section there's a redirect to the top. Not sure why or how is that happening.
Same issue here
@semi616 react-anchor-link-smooth-scroll is a dream - thanks for posting.
I manage to fix this bug (ugly way) for my needs:
yarn add https://github.com/effer89/react-scrollable-anchor.git