bug(MATCHIP): Chip text doesn't truncate or wrap if the text length takes more width than the form field
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### 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):
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con la riproduzione StackBlitz in src/example/chips-autocomplete-example.html e verifica il testo del chip che fuoriesce e l’icona di rimozione nascosta nell’esempio di completamento automatico dei chip. Segui il comportamento correlato del chip e del campo del modulo a partire da quell’esempio, quindi conferma che il testo lungo del chip rimanga all’interno del campo e che il pulsante di rimozione resti visibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100