-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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-ui][docs] Fix menu in color inversion header demo #39785
Conversation
Netlify deploy previewhttps://deploy-preview-39785--material-ui.netlify.app/ Bundle size report |
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.
It should also close when clicking outside the Menu, not just when clicking the Main. Additionally, I believe the Menu should not be controlled by the Chip. According to the documentation, Chip is meant for data display, not as an input. I suggest changing it to MenuButton, as shown in the docs.
@ZeeshanTamboli argos change is expected as |
Main
buttonMain
, menu is still open here. It should be closed, This PR fixes thatPreview https://deploy-preview-39785--material-ui.netlify.app/joy-ui/main-features/color-inversion/#header