Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Navigating to sub-header reverts the URL to main header #15

Open
erhant opened this issue Oct 27, 2023 · 0 comments
Open

Navigating to sub-header reverts the URL to main header #15

erhant opened this issue Oct 27, 2023 · 0 comments

Comments

@erhant
Copy link

erhant commented Oct 27, 2023

For example, if you go to https://docs.huff.sh/get-started/huff-by-example/#constructor-and-main it scrolls to the header correctly, and right after that the URL goes back to https://docs.huff.sh/get-started/huff-by-example/#macros which is the parent header that the previous header is child of.

Similarly, if you click to any sub-header (such as Macro Arguments header just below the in the previous link) the url first switches to https://docs.huff.sh/get-started/huff-by-example/#macro-arguments and then goes back to https://docs.huff.sh/get-started/huff-by-example/#macros.

After this URL change happens, if you click on that same sub-header, the URL does not change anymore and works as intended.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant