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
Tree
Tree组件在切换数据后,属性定义defaultExpandAll={true}会失效,建议增加受控状态下的expandAll riddle复现demo https://riddle.alibaba-inc.com/riddles/433f2ce7
The text was updated successfully, but these errors were encountered:
defaultExpandAll 行为类似 defaultValue,仅在组件首次渲染会执行,你的场景可以在数据变化时传递一个不同的 key 让 react 渲染一个新的组件来实现。 若有受控的expandAll,会阻塞用户交互,可以通过传递 expandedKeys 来达到类似效果
defaultExpandAll
expandAll
expandedKeys
Sorry, something went wrong.
jerryyxu
No branches or pull requests
Component
Tree
Feature Description
Tree组件在切换数据后,属性定义defaultExpandAll={true}会失效,建议增加受控状态下的expandAll
riddle复现demo
https://riddle.alibaba-inc.com/riddles/433f2ce7
The text was updated successfully, but these errors were encountered: