Closed
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
Page with the defect: https://material.angular.io/components/chips/examples
The last example, "Stacked chips" shows full-width chips when the mat-chip CSS shows max-width: 200px
Reproduction
Steps to reproduce:
- Go to https://material.angular.io/components/chips/examples
- Scroll to the bottom and view Stacked chips
Expected Behavior
mat-chip should obey the CSS that sets max-width to 200px;
Actual Behavior
mat-chips are 100% width of the container.
Additionally, the only clickable area of the chip is the text area. The overflow is not clickable.
Environment
- Angular:
- CDK/Material:
- Browser(s): Chrome and Edge
- Operating System (e.g. Windows, macOS, Ubuntu):