T
TanStack•3mo ago
foreign-sapphire

How to use a skip link?

I'm trying to add a "skip link" to my tanstack router app but when I press the link it scrolls to the right section, but the app sort of flashes dark and scrolls back up.
<a href={`#${props.topic.anchor}`}>{props.children}</a>
<a href={`#${props.topic.anchor}`}>{props.children}</a>
2 Replies
fascinating-indigo
fascinating-indigo•3mo ago
<Link hash=...
foreign-sapphire
foreign-sapphireOP•3mo ago
Ohh of course 😅 Thanks!

Did you find this page helpful?