Closed
Description
Reproduction
The bug is reproducible with the flat tree example in the official documentation. What is the same as the respective Stackblitz example.
Steps to reproduce:
- Expand "Vegetables" node and then "Green" and "Orange" nodes.
- Collapse "vegetables"
Expected Behavior
All nodes under "Vegetables" should disappear (should be collapsed).
Actual Behavior
"Green" and "Orange" disappear, but the leaf nodes are still visible.
After collapsing "Vegetables":
Environment
- Angular: 10.2.2
- CDK/Material: 10.2.2
- Browser(s): Chrome 85
- Operating System (e.g. Windows, macOS, Ubuntu): Windows