Scrolling to id is not consistent
Clicking a
<A href="/#some_id">
link does nothing if the current route already matches the link completely. Is there a way to fix this behavior, so clicking the link on the same page repeatedly would scroll the element into view?4 Replies
I think this is standard browser behavior. And also not sure if there's anything that can be done about it 🤔. Unless you see that because with a standard
<a>
tag is differentBut the regular
<a>
is different, it will scroll to the element repeatedly as expected. Just tested it in Chrome and Firefox.Found relevant issue: https://github.com/solidjs/solid-router/issues/229
GitHub
Click on tag does not reliably scroll to section · Issue #229 · so...
Describe the bug I set up a small website, that is supposed to work like a single page application. My main nav consists of 4 links of which the first is an Tag and the other three are regular with...
Ah, interesting. I didn't realize that worked