Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

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

@dldx

Description

@dldx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions