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'm currently have an issue with scrolling-to-element.
My website has 2 routes : ' / #someSectionId' and ' /blog ' and both shared the same Header component.
If I'm on root route ( '/' ) at initial , everything works fine. But if I'm on ( '/blog' ) at initial, when I click arbitrary links in Header component to go to some section on home page, the url actually displays #someSectionId but then immediately redierct to #home.
I can temporarily fix this by set the default min-height for each section, but this obviously not a good idea. So I'm looking for a better solution.
I'm currently have an issue with scrolling-to-element.
My website has 2 routes : ' / #someSectionId' and ' /blog ' and both shared the same Header component.
If I'm on root route ( '/' ) at initial , everything works fine. But if I'm on ( '/blog' ) at initial, when I click arbitrary links in Header component to go to some section on home page, the url actually displays #someSectionId but then immediately redierct to #home.
I can temporarily fix this by set the default min-height for each section, but this obviously not a good idea. So I'm looking for a better solution.
Sorry for my bad English.
The text was updated successfully, but these errors were encountered: