N
N
Natebash2021-12-06 15:48:18
React
Natebash, 2021-12-06 15:48:18

NavHashLink scroll not working properly?

Hello everyone, there is a feature -
There is a Navbar and a fixed header. When you click on the NavHashLink as in the example below, there is a
61ae05c49476a682945594.png
scroll to the desired element.

Bug:
If you click on the fixed header on the link again, the scroll will go up, to the position as where it was. What could be the problem, and where to dig? Searched all the code, no ideas at all.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question