Skip to content
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

[docs] Improve the useSelect demo styling #33883

Merged
merged 4 commits into from Nov 23, 2022

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Aug 10, 2022

Little tweaks to the useSelect demo to visually indicate the highlighted option.

Preview: https://deploy-preview-33883--material-ui.netlify.app/base/react-select/#hook

@michaldudak michaldudak added docs Improvements or additions to the documentation component: select This is the name of the generic UI component, not the React module! package: base-ui Specific to @mui/base labels Aug 10, 2022
@mui-bot
Copy link

mui-bot commented Aug 10, 2022

Messages
📖 Netlify deploy preview: https://deploy-preview-33883--material-ui.netlify.app/

No bundle size changes

Generated by 🚫 dangerJS against 21f0d6b

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a change in the behavior compared to production: https://mui.com/base/react-select/#hook

Production:
useSelect-master

This PR:
useSelect-PR

Also, we may want to improve the contrast by using white text on top of the red color at least.

@michaldudak
Copy link
Member Author

I've updated the demo to be more in line with the others. I decided to remove the open-on-hover feature as the UX wasn't too good.

@michaldudak michaldudak merged commit 23276db into mui:master Nov 23, 2022
@michaldudak michaldudak deleted the useSelect-demo-improvements branch November 23, 2022 15:09
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
feliperli pushed a commit to jesrodri/material-ui that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation package: base-ui Specific to @mui/base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants