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
If we try to control the expanded prop of a <FlatTableRow> the component does not handle the changed expanded prop.
expanded
<FlatTableRow>
The component should respond to changes in the expanded prop
https://codesandbox.io/s/lucid-mahavira-f5gw7?fontsize=14&hidenavigation=1&theme=dark
Seems like a useEffect is missing for the expanded prop (as @edleeks87 mentioned)
The text was updated successfully, but these errors were encountered:
FE-4007
Sorry, something went wrong.
fix(flat-table-row): add support for controlling expanded rows extern…
721f975
…ally Adds `useEffect` to ensure `expandable` `FlatTableRows` update when the value of the `expanded` prop changes fix #3875
chore(release): 68.25.3
5f9b7b3
### [68.25.3](v68.25.2...v68.25.3) (2021-04-22) ### Bug Fixes * **flat-table-row:** add support for controlling expanded rows externally ([721f975](721f975)), closes [#3875](#3875)
🎉 This issue has been resolved in version 68.25.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
Current behaviour
If we try to control the
expanded
prop of a<FlatTableRow>
the component does not handle the changedexpanded
prop.Expected behaviour
The component should respond to changes in the
expanded
propReproducible example
https://codesandbox.io/s/lucid-mahavira-f5gw7?fontsize=14&hidenavigation=1&theme=dark
Suggested solution(s)
Seems like a useEffect is missing for the
expanded
prop (as @edleeks87 mentioned)Your environment
The text was updated successfully, but these errors were encountered: