bug(tree): Using cdk-tree with ArrayDataSource and Observable can cause expand functionality to fail under certain conditions. #29661
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 Observable, the expand functionality can fail under the following conditions:
Reproduction
StackBlitz link: https://stackblitz.com/edit/2ypkpy?file=src%2Fexample%2Fcdk-tree-flat-children-accessor-example.ts
Steps to reproduce:
Click the tree node toggler
Expected Behavior
Child nodes expand normally.
Actual Behavior
Child nodes fail to expand.
Environment
The text was updated successfully, but these errors were encountered: