Material: mdChils and mdAutocomlete throw exception on remove chip.

Created on 5 Sep 2016  Â·  7Comments  Â·  Source: angular/material

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: <ol> <li>open <a href="https://material.angularjs.org/latest/demo/chips">https://material.angularjs.org/latest/demo/chips</a></li> <li>goto section Use md-autocomplete to build an ordered set of chips.</li> <li>add some Vegetable

  • remove chip

  • 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.

Pull Request bug

Most helpful comment

when is 1.1.2 releasing?

All 7 comments

Is this merged into 1.1.1?

The problem still exists.

Check on the demo page when using the <md-autocomplete> wrapped version. Delete an element from the md autocomplete and you'll encounter the error.

@stephengardner - this should be available in HEAD and in the next, upcoming 1.1.2 release

Thanks Thomas

On Oct 21, 2016 12:09 AM, "Thomas Burleson" [email protected]
wrote:

@stephengardner https://github.com/stephengardner - this should be
available in HEAD and in the next, upcoming 1.1.2 release

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/material/issues/9520#issuecomment-255289187,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHBvdl1i_toEWKLZq0ZkSbW7Eytg34JVks5q2DsIgaJpZM4J0qCX
.

when is 1.1.2 releasing?

Not sure if both issues should be closed - this is still an active issue until 1.1.2

when is 1.1.2 expected?

When is 1.1.2 expected to drop?

Was this page helpful?
0 / 5 - 0 ratings