rgossiaux / svelte-headlessui

Unofficial Svelte port of the Headless UI component library
https://svelte-headlessui.goss.io
MIT License
1.78k stars 96 forks source link

Dialog breakes SvelteKit client-side routing #162

Open stepanorda opened 1 year ago

stepanorda commented 1 year ago

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

ayazemregm commented 1 year ago

any updates on this one @rgossiaux

JorensM commented 6 months ago

Can confirm, also having this.