Skip to content

Popup close button adding #close hash to URL #8159

Closed
@gwacker

Description

Starting with version v1.8.0, clicking the popup close 'x' button adds #close to the URL

Behavior is reproducible on the leaflet.js website in examples with popups such as:
https://leafletjs.com/SlavaUkraini/examples/quick-start/example.html

Previous to v1.8.0 clicking the popup close button prevented #close hash from being added to the URL

Not ideal for Single Page Applications that rely on hash routing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    accessibilityAnything related to ensuring no barriers exist that prevent interactions or information accessbug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions