You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
I suspect the callbacks for focus and blur are invoked outside angular's digest loop. Some scope.$apply() thing should be used here.
On the other hand, md-input has the correct behavior because its callbacks are registered through ng-focus and ng-blur inside the template instead of manually setting up the event listeners.
The text was updated successfully, but these errors were encountered:
The issue exists in the latest release (v0.10.0) and previous releases ( < 0.9.x). It can be seen on the demo page of the ng-material website (https://material.angularjs.org/latest/#/demo/material.components.chips).
Symptom
Use md-autocomplete to build an ordered set of chips.
under the Custom Inputs section in Demo for Chips.Possible cause
The code below is from chipsController.js
I suspect the callbacks for
focus
andblur
are invoked outside angular's digest loop. Somescope.$apply()
thing should be used here.On the other hand,
md-input
has the correct behavior because its callbacks are registered throughng-focus
andng-blur
inside the template instead of manually setting up the event listeners.The text was updated successfully, but these errors were encountered: