-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/chips
Description
Reproduction
Stackblitz with Angular 12.1.1 incorrect behavior: https://stackblitz.com/edit/angular-zb5iff?file=src/app/chips-input-example.html
Stackblitz with Angular 11.x.x and correct behavior: https://stackblitz.com/edit/angular-sehgsv?file=src/app/chips-input-example.html
Steps to reproduce:
- Click on any chip (or press
add textbutton) - Value added to input field and input focused
- Press Backspace button
User may press any other button like cursor keys, delete and after that backspace behave correctly.
Expected Behavior
Delete the last character in the input field
Actual Behavior
Chip immediately added to chips with the current value
Environment
- Angular: 12.1.1
- CDK/Material: 12.1.1
- Browser(s): Chrome 91.0.4472.114, Firefox 89.0.2
- Operating System (Windows 10, macOS 11.4):
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/chips