Skip to content

[select] Select menu can't be closed by clicking away #8

@homerchen19

Description

@homerchen19

Steps to reproduce

Link to live example: https://mui.com/base-ui/react-select/#introduction

Steps:

  1. Add value="" to the <Select> component

Screenshot 2024-02-19 at 13 36 06

Current behavior

  • The Select menu can't be closed by clicking away if its value prop doesn't match any option's value
  • Selecting an option can close the menu though

Expected behavior

  • The Select menu can be closed by clicking away even if its value prop doesn't match any option's value

Context

No response

Your environment

Details "@mui/base": "5.0.0-beta.36"

Search keywords: Select

Metadata

Metadata

Assignees

Labels

component: selectChanges related to the select component.type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions