You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method expandAll() of MatTree expands only the first level of a deeply nested tree. On deprecated MatTreeControl, the same method was able to expand the entire tree without problems.
I'm having the same problem, and the previous bugfix(#30226 ) has not solved this issue. Is there anyone out there to fix this please?
Also, I can't understand why TreeControl will be deprecated, deprecating TreeControl makes it impossible to control the state of the tree before initializing the view, and I think integrating all the methods from TreeControl into Tree will make custom components less flexible
Is this a regression?
The previous version in which this bug was not present was
17.x
Description
Reopen Issue #29865. CDK/Material: 19.1.2 contains a fix #30226 but the issue still persists.
The method expandAll() of MatTree expands only the first level of a deeply nested tree. On deprecated MatTreeControl, the same method was able to expand the entire tree without problems.
WORKAROUND:
Reproduction
StackBlitz link:
Steps to reproduce:
Expected Behavior
MatTree's expandAll() should expand all nodes.
Actual Behavior
Only the first level nodes are expanded.
Environment
The text was updated successfully, but these errors were encountered: