Skip to content

[select] Fix incorrect focus visible styles on select item applied by mousedown#47898

Closed
mj12albert wants to merge 4 commits into
mui:masterfrom
mj12albert:fix/select-option-focus-visible
Closed

[select] Fix incorrect focus visible styles on select item applied by mousedown#47898
mj12albert wants to merge 4 commits into
mui:masterfrom
mj12albert:fix/select-option-focus-visible

Conversation

@mj12albert

@mj12albert mj12albert commented Mar 4, 2026

Copy link
Copy Markdown
Member

Preview: https://deploy-preview-47898--material-ui.netlify.app/material-ui/react-select/

Can be handled by tracking the interaction type (keyboard vs pointer) that opens the popup

Fixes #23747

@mj12albert mj12albert added the scope: select Changes related to the select. label Mar 4, 2026
@mui-bot

mui-bot commented Mar 4, 2026

Copy link
Copy Markdown

Netlify deploy preview

https://deploy-preview-47898--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 🔺+623B(+0.12%) 🔺+273B(+0.18%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 1b48afc

@mj12albert mj12albert added the type: bug It doesn't behave as expected. label Mar 4, 2026
@mj12albert mj12albert force-pushed the fix/select-option-focus-visible branch 2 times, most recently from 9b2f03b to cd2541e Compare March 12, 2026 05:38
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 12, 2026
@mj12albert mj12albert force-pushed the fix/select-option-focus-visible branch from cd2541e to b6ab64d Compare March 12, 2026 09:48
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 12, 2026
@mj12albert mj12albert closed this Mar 17, 2026
@mj12albert mj12albert deleted the fix/select-option-focus-visible branch March 17, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: select Changes related to the select. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Select] - First options receives .Mui-focusVisible always

2 participants