Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog nested in a Menu automatically opens when Menu opens #168

Open
headquarters opened this issue Oct 26, 2023 · 0 comments
Open

Dialog nested in a Menu automatically opens when Menu opens #168

headquarters opened this issue Oct 26, 2023 · 0 comments

Comments

@headquarters
Copy link

Describe the bug
When a Dialog component is inside a Menu component, the Menu opening triggers the Dialog to open.

2023-10-26 09 58 10

My guess is that the slot let:open prop is some how passing through to the Dialog triggering it to open when the Menu opens.

To Reproduce
Example repo: https://github.com/headquarters/svelte-headless-ui-bug-example
npm install
npm run dev

Library version
Version: @rgossiaux/svelte-headlessui@2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant