Skip to content

[docs] Opening a dialog from menu example is wrong #3149

@radqut

Description

@radqut

Bug report

Current behavior

When I click on a content of an opened dialog, a menu closes under the dialog backdrop.

Expected behavior

The previous floating components should not be closed

Reproducible example

Link to wrong demo: https://base-ui.com/react/components/dialog#open-from-a-menu

Stackblitz showing the bug: https://stackblitz.com/edit/vitejs-vite-psmrztnd?file=src%2FApp.tsx,vite.config.ts,src%2Findex.css&terminal=dev

Base UI version

1.0.0-beta.4

Which browser are you using?

Chrome

Which OS are you using?

Debian 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: dialogChanges related to the dialog component.docsImprovements or additions to the documentation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions