[joy-ui][Select] Bug: Options visually selected after clicking the clear selections button in the Select component #43000
Labels
component: select
This is the name of the generic UI component, not the React module!
on hold
There is a blocker, we need to wait
package: joy-ui
Specific to @mui/joy
support: docs-feedback
Feedback from documentation page
Related page
https://mui.com/joy-ui/react-select/
Kind of issue
Broken demo
Issue description
There is a bug in JoyUI's Select component at Clear Action example. When I use the clear selections button, the selected values are removed as expected. However, when I open the options menu again, the previously chosen options still visually appear as selected.
Steps to reproduce:
1- Go to the Select component example page with the clear selections button.
2- Select some options in Select.
3- Click the button to clear selections.
4- Open the Select Options menu again.
Expected behavior:
Options that were previously selected should not visually appear as selected after clicking the clear selections button.
Current behavior:
Options that were previously selected still appear visually as selected after clicking the clear selections button, even though they are no longer selected.
Context
While implementing a
Select all
option, I realized the effect was not being applied correctly after selecting all the options.Search keywords: UI, visual bug, clear selection
The text was updated successfully, but these errors were encountered: