-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Writing fast in input breaks ng-messages #4685
Comments
@topherfangio - I think we need to debounce the change trigger for ng-messages and animations. |
@ThomasBurleson The animations are all CSS-based and are kicked off when the error messages appear. I'm not sure we can really control that on our end unless we hack ng-messages. Thoughts? Also, two quick points:
|
Thanks guys for replaying.
|
I'll see if I can run |
@tniezurawski Please see my linked issue in the main Angular repo for an update. |
I think I have a fix here angular/angular.js#12903 |
@petebacondarwin I just tested the changes and it appears to have solved this issue. Thanks so much! @ThomasBurleson What is the best way to track this so that we close the issue when we switch to 1.4.7? |
|
This has been fixed and will be available in the next Angular 1.4.7 release. |
Hello,
I've prepared 3 examples in this plunker for you guys:
http://plnkr.co/edit/I2BzzAbGySn1d6wVOK1E?p=preview
If you write fast in input it breaks in showing ng-messages correctly. To show you that this is not connected with ng-pattern I've prepared an example without using angular-material and different approach to resolve the same problem.
I guess it is probably connected with animation and changing the state of input with delay.
The text was updated successfully, but these errors were encountered: