-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[joy][Select] Set focus visible on select options when navigating with arrow keys #36689
Conversation
Co-authored-by: raj360 <34602861+raj360@users.noreply.github.com>
Netlify deploy previewhttps://deploy-preview-36689--material-ui.netlify.app/ Bundle size report |
@ZeeshanTamboli this PR is ready for review |
I'll let @siriwatknp review this PR. |
What's the verdict on this? @siriwatknp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The usage of the token should not change. Let's change the token value instead:
diff --git a/packages/mui-joy/src/styles/extendTheme.ts b/packages/mui-joy/src/styles/extendTheme.ts
index 5a2513dcc3..cc8d6f3738 100644
--- a/packages/mui-joy/src/styles/extendTheme.ts
+++ b/packages/mui-joy/src/styles/extendTheme.ts
@@ -356,7 +356,7 @@ export default function extendTheme(themeOptions?: CssVarsThemeOptions): Theme {
background: {
body: getCssVarColor('palette-neutral-900'),
surface: getCssVarColor('palette-common-black'),
- popup: getCssVarColor('palette-neutral-800'),
+ popup: getCssVarColor('palette-neutral-900'),
level1: getCssVarColor('palette-neutral-800'),
level2: getCssVarColor('palette-neutral-700'),
level3: getCssVarColor('palette-neutral-600'),
Co-authored-by: raj360 <34602861+raj360@users.noreply.github.com>
@siriwatknp thanks for the feedback, your comment has been addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks for the fix!
Description
Sets focus visible on
<Li>
when navigating with arrowkeys. @mui/joyuiCloses #36601
select-background.mov
This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.