Skip to content
Bug reportOct 16, 2026· 0:25· 0 views

Base UI 1.0.0-rc.0: pressing inside a modal Dialog unexpectedly closes an open Popover

0:25 total

Comments · 0

Be the first to comment.

Bug report— by SceneRecap AI

mediumPopover / Outside Click Handling / Modal Dialog Integration
os: macOSbrowser: Chromium 151.0.7922.34viewport: 1280x720

Repro steps

  1. 1.Click "Open popover" button to display the popover
  2. 2.Click "Open dialog" button located inside the opened popover
  3. 3.Click "Or click me" button inside the open modal dialog

Expected

Interacting with elements inside the modal dialog should not trigger outside-click dismissal of the parent popover.

Actual

Clicking inside the modal dialog triggers outside-click dismissal, closing the popover immediately.

Evidence

visualAt 13.0s, the modal dialog and popover have disappeared, revealing the underlying page with status 'Or click me pressed — check if Popover is still open'.
consoleBUG confirmed: Popover [data-popup] is gone after clicking inside the Dialog
Issue markdown (copy-paste ready)
### Bug Description
When opening a modal `Dialog` from inside a `Popover`, interacting with elements inside the modal dialog (such as clicking a button) triggers an outside-click handler on the popover, causing the popover to unexpectedly close.

### Steps to Reproduce
1. Click the **Open popover** button (at 4.1s).
2. Inside the open popover, click **Open dialog** (at 6.7s).
3. In the modal dialog that appears, click the **Or click me** button (at 12.2s).

### Expected Behavior
Interacting with the contents of the modal dialog should not close the parent popover.

### Actual Behavior
Clicking inside the modal dialog closes both the dialog and the popover. The popover DOM element (`[data-popup]`) is completely removed.

### Concrete Evidence
- **Visual:** At frame 13.0s, both the dialog overlay and popover disappear unexpectedly.
- **Console Log (13.5s):** `BUG confirmed: Popover [data-popup] is gone after clicking inside the Dialog`

*Recorded with SceneRecap.*

Your recordings could explain themselves too.

Free plan · silent recordings welcome · bug reports included.

Try SceneRecap free →
Base UI 1.0.0-rc.0: pressing inside a modal Dialog unexpectedly closes an open Popover · SceneRecap