material-web
material-web copied to clipboard
md-chip does not ellipsis label text when constrained by a limited width.
What is affected?
Component
Description
I would expect a md-chip when constrained by a max-width to ellipsis text instead of overflowing.
Reproduction
Here is a link to a reproduction lit playground example
Workaround
The only way to really manage the md-chips right now is to allow the container to scroll and let the chips grow as wide as they need to be for their labels.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
1.0.1
Browser/OS/Node environment
OS: Windows 11 Browser: Microsoft Edge 119.0.2151.93