Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdChils and mdAutocomlete throw exception on remove chip. #9520

@aprotsyk

Description

@aprotsyk

Actual Behavior:

  • What is the issue? mdChils and mdAutocomlete throw exception on remove chip.
  • What is the expected behavior? no exception

CodePen (or steps to reproduce the issue): *

  • `CodePen Demo which shows your issue:
  1. open https://material.angularjs.org/latest/demo/chips
  2. goto section Use md-autocomplete to build an ordered set of chips.
  3. add some Vegetable`
  4. remove chip
  5. open console to see trace
  • Details: angular.js:13550 TypeError: Cannot read property 'nextTick' of undefined at e.removeChipAndFocusInput (angular-material.min.js:14) at fn (eval at compile (angular.js:14432), <anonymous>:4:516) at b (angular.js:15485) at e (angular.js:25018) at n.$eval (angular.js:17229) at n.$apply (angular.js:17329) at HTMLButtonElement.<anonymous> (angular.js:25023) at Qf (angular.js:3456) at HTMLButtonElement.d (angular.js:3444)

Angular Versions: *

  • Angular Version: 1.5.7
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: Chrome
  • Browser Version: 52.0.2743.116
  • OS: Mac
  • Stack Traces: angular.js:13550 TypeError: Cannot read property 'nextTick' of undefined at e.removeChipAndFocusInput (angular-material.min.js:14) at fn (eval at compile (angular.js:14432), <anonymous>:4:516) at b (angular.js:15485) at e (angular.js:25018) at n.$eval (angular.js:17229) at n.$apply (angular.js:17329) at HTMLButtonElement.<anonymous> (angular.js:25023) at Qf (angular.js:3456) at HTMLButtonElement.d (angular.js:3444)

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions