Skip to content

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

Open
@headquarters

Description

@headquarters

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

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