Skip to content

Dialog breakes SvelteKit client-side routing #162

@stepanorda

Description

@stepanorda

Describe the bug
Dialog has event.stopPropagation() click handler that brakes SvelteKit routing. Instead of intercepting links and loading data it always reloads pages.

To Reproduce
Super simplified illustration of the problem:
https://svelte.dev/repl/2422c290d0a5476faa0b969ec5480a28?version=4.2.0

Library version
Tested and it doesn't work both in 1.x and 2.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions