Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
When all chips in a chip list are removed programmatically, focus should not be moved to the associated chip input when the current focus is outside the chip list.
What is the current behavior?
The chip input is getting focused.
What are the steps to reproduce?
- Add chips to a chip list
- Tab out and move focus away from chip list and input
- Clear the chips programmatically (e.g. using a button)
See http://plnkr.co/edit/urO2dB?p=preview
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 4.3
Material: Beta 10