bug(tree): Using cdk-tree with ArrayDataSource and synchronous data, the isExpanded functionality can fail. #29669
Labels
area: material/tree
needs investigation
A member of the team needs to do further investigation to determine the root cause
P2
The issue is important to a large percentage of users, with a workaround
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Using cdk-tree with ArrayDataSource and synchronous data, the isExpanded functionality can fail.
Reproduction
StackBlitz link: https://stackblitz.com/edit/2ypkpy-yxnpzh?file=src%2Fexample%2Fcdk-tree-flat-children-accessor-example.ts
Steps to reproduce:
load the page
Expected Behavior
All nodes automatically expand.
Actual Behavior
Some nodes did not automatically expand.
Environment
The text was updated successfully, but these errors were encountered: