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
Describe the bug
Per #201, smooth scrolling anchor links on the landing page should actually update the fragment in the URL bar when you click them on the landing page. Currently, they don't, because we prevent the default behavior of the Link (anchor tag wrapper) when on the same page to allow JS to smoothly scroll reliably to the anchor.
To Reproduce
Steps to reproduce the behavior:
Try clicking around the navbar on the landing page
Expected behavior
A clear and concise description of what you expected to happen.
Browser URL bar fragment should update to the corresponding id when you click on the navbar links
Additional context
Add any other context about the problem here.
It might make sense to do a custom wrapper around Next's Link component to facilitate automatic smooth scrolling on same-page anchor links.
The text was updated successfully, but these errors were encountered:
Unfortunately, I won't be able to help this week as I've got a lot on my plate. If nobody else volunteers, I am happy to take this up in the coming week.
Describe the bug
Per #201, smooth scrolling anchor links on the landing page should actually update the fragment in the URL bar when you click them on the landing page. Currently, they don't, because we prevent the default behavior of the
Link
(anchor tag wrapper) when on the same page to allow JS to smoothly scroll reliably to the anchor.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
id
when you click on the navbar linksAdditional context
Add any other context about the problem here.
Link
component to facilitate automatic smooth scrolling on same-page anchor links.The text was updated successfully, but these errors were encountered: