-
Notifications
You must be signed in to change notification settings - Fork 174
Description
Description
Hello, first of all thank you for creating this wonderful UI library.
I have created an application shell component that serves as the main layout for the pages of my app instead of utilizing the +layout.svelte
feature of SvelteKit because I want to pass stuffs from page to shell/layout like breadcrumbs, current app, and current tab, which you can easily do with that setup.
The problem occurs when my application shell uses the menu or popover component from ark. When navigating to a page the second time, the current page does not unmount and the new page gets appended to the bottom. This only happens when you use the experimental async mode in Svelte.
Link to Reproduction (or Detailed Explanation)
https://stackblitz.com/edit/xbpxoa3j?file=src%2Flib%2Fcomponents%2Fshell.svelte
Steps to Reproduce
- Go to about page
- Go back to home
Ark UI Version
5.10.1
Framework
- React
- Solid
- Vue
- Svelte
Browser
Google Chrome
Additional Information
No response