We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like the changes in 4.2.1 for read-only behaviour broke the controlled functionality of react-select.
minimal repro: https://codesandbox.io/s/chakra-react-select-menuisopen-fjzmyt?file=/src/App.tsx
changing the dep to 4.2.0 in that CSB shows it working as intended
thanks!
4.2.1
https://codesandbox.io/s/chakra-react-select-menuisopen-fjzmyt?file=/src/App.tsx
menuIsOpen
No response
The text was updated successfully, but these errors were encountered:
Oops, I know what changed to break this, I'll take a look!
Sorry, something went wrong.
Man oh man, turns out it was just caused by a missing parenthesis... Thanks for catching this haha, I pushed a fix in v4.2.2
v4.2.2
Here's a working version of your repro: https://codesandbox.io/s/chakra-react-select-menuisopen-fix-21kcu1?file=/src/App.tsx
haha the number of times i've missed parens with nullish coalesce... not good!
thanks for the quickest fix ive ever seen, legend!
csandman
Successfully merging a pull request may close this issue.
Description
Looks like the changes in 4.2.1 for read-only behaviour broke the controlled functionality of react-select.
minimal repro: https://codesandbox.io/s/chakra-react-select-menuisopen-fjzmyt?file=/src/App.tsx
changing the dep to 4.2.0 in that CSB shows it working as intended
thanks!
chakra-react-select Version
4.2.1
Link to Reproduction
https://codesandbox.io/s/chakra-react-select-menuisopen-fjzmyt?file=/src/App.tsx
TypeScript?
Steps to reproduce
menuIsOpen
to trueOperating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: