You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see the hash anchor tag in the url and in my redux store when I click on the anchor link in the navebar, and it indeed navigates to the new route, but it doesn't scroll down to the tag itself.
Is it up to me to create the scroll function or how is it supposed to work exactly?
The text was updated successfully, but these errors were encountered:
I want the page to scroll down to my anchor tags when a user navigates to it through an anchor link.
I'm using react-router 4 and I've defined things as follows:
navbar:
...
some route:
I can see the hash anchor tag in the url and in my redux store when I click on the anchor link in the navebar, and it indeed navigates to the new route, but it doesn't scroll down to the tag itself.
Is it up to me to create the scroll function or how is it supposed to work exactly?
The text was updated successfully, but these errors were encountered: