-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
When we use matTreeNodePadding on , the indent should always be 40px because the div element is embedded in its parent div element. It should be different with .
Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-starter-jotfnbjm
Steps to reproduce:
- click apple
- click pie
Expected Behavior
The indent should keep 40px for all nested tree nodes.
Actual Behavior
The indent is 40px for level 1, 80px for level 2 ...
Environment
- Angular: 19.2.4
- CDK/Material: 19.2.7
- Browser(s): Chrome, Safari
- Operating System (e.g. Windows, macOS, Ubuntu): MacOS
Metadata
Metadata
Assignees
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team