svelte-headlessui icon indicating copy to clipboard operation
svelte-headlessui copied to clipboard

Dialog breakes SvelteKit client-side routing

Open stepanorda opened this issue 1 year ago • 2 comments

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

stepanorda avatar Aug 14 '23 15:08 stepanorda

any updates on this one @rgossiaux

ayazemregm avatar Sep 01 '23 18:09 ayazemregm

Can confirm, also having this.

JorensM avatar Mar 31 '24 08:03 JorensM