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

Clicking on an anchor tag refreshes the page and loses state #94

Open
dldx opened this issue Feb 15, 2019 · 0 comments
Open

Clicking on an anchor tag refreshes the page and loses state #94

dldx opened this issue Feb 15, 2019 · 0 comments

Comments

@dldx
Copy link

dldx commented Feb 15, 2019

If I use html.A("Go to section1", href="#section1")
to scroll to an anchor, the page seems to refresh and lose its state. This makes it very difficult to use anchor tags at all because state is instantly lost... Ideally, I would like to store state within the url but this isn't currently possible because of #44

Not sure if this is a bug or just a problem with my implimentation though.

@dldx dldx changed the title Clicking on an anchor tag refresh the page Clicking on an anchor tag refreshes the page and loses state Feb 15, 2019
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