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
[Select] Add defaultOpen prop #30212
Conversation
update Select docs;
Thanks for your PR. Additionally, run |
revert translated doc changes
update docs accordingly
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.
Review observations addressed.
update docs accordingly
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.
Sorry for the delayed response. One more thing that's missing here is a unit test. Could you please add one to verify if the added function works correctly?
Removed the unused demos and added a unit test for the new Sorry for the delay on my part too. Happy new year! |
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.
Requested review changes addressed.
Co-authored-by: Michał Dudak <michal.dudak@gmail.com>
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.
Almost there :) One more thing to correct to make the tests pass.
Also, please merge in the latest master branch.
Implement workaround for `aria-hidden` inhibiting `getByRole` Co-authored-by: Michał Dudak <michal.dudak@gmail.com>
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.
Requested changes applied.
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.
All good! Thanks a lot for your work!
Awesome, thank you! |
Co-authored-by: Michał Dudak <michal@dudak.me>
<!-- Thanks so much for your PR, your contribution is appreciated! ❤️ -->
This Pull Request implements the `defaultOpen` prop for the `Select` component, which adds the functionality of toggling the menu automatically on mount.
- [x] I have followed (at least) the [PR section of the contributing guide](https://github.com/mui\-org/material\-ui/blob/HEAD/CONTRIBUTING.md\#sending\-a\-pull\-request\).
Preview: https://deploy-preview-30212--material-ui.netlify.app/components/selects