Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(MATCHIP): Chip text doesn't truncate or wrap if the text length takes more width than the form field #30158

Open
1 task
Muqhees opened this issue Dec 10, 2024 · 0 comments
Labels
area: material/chips area: material/form-field P4 A relatively minor issue that is not relevant to core functions

Comments

@Muqhees
Copy link

Muqhees commented Dec 10, 2024

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

Chip text doesn't truncate or wrap if the text length takes more width than the form field . Remove icon button is also not visible

Reproduction

StackBlitz link: https://stackblitz.com/edit/hnhs71mw?file=src%2Fexample%2Fchips-autocomplete-example.html
Steps to reproduce:
1.
2.

Expected Behavior

Text inside the chip should either truncate or wrap and the remove icon button should be visible

Actual Behavior

Text overflows the chip and the form field and the remove icon button is not visible

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):
@Muqhees Muqhees added the needs triage This issue needs to be triaged by the team label Dec 10, 2024
@amysorto amysorto added P4 A relatively minor issue that is not relevant to core functions area: material/chips area: material/form-field and removed needs triage This issue needs to be triaged by the team labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/chips area: material/form-field P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

2 participants