T
TanStack•6mo ago
eastern-cyan

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
continuing-cyan
continuing-cyan•6mo ago
<Link hash=...
eastern-cyan
eastern-cyanOP•6mo ago
Ohh of course 😅 Thanks!

Did you find this page helpful?