mui / mui/base-ui

[select] popup is not removed from the DOM after closing.

Open
#5,184 1 comment 0 reactions 0 assignees View on GitHub
component: select type: expected behavior
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

# Bug report

## Current behavior

After the Select's popup has been closed, it remains in the DOM.

## Expected behavior

The popup should be removed from the DOM

## Reproducible example

Inspect the doc's first example

https://base-ui.com/react/components/select

## Base UI version

v1.6.0

## Which browser are you using?

Chrome

## Which OS are you using?

Mac OS

## Which assistive tech are you using (if applicable)?

## Additional context

Contributor guide

Open the contributing guide

Research direction

Start with the Select component used by the first example on the documentation page at https://base-ui.com/react/components/select and reproduce the behavior in Chrome by inspecting the DOM before and after closing the popup. Trace the popup lifecycle and verify that closing the Select removes the popup from the DOM.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.