Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

ngMessage text is duplicated with ngAnimate when using $asyncValidators with low timeouts (<35ms) #15348

Open

Description

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

ngMessage text is duplicated with ngAnimation

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).

To reproduce:

  1. open fiddle: http://jsfiddle.net/rshift/cfq4fn6v/1/
  2. focus on input field
  3. press and hold 'a' (or any other key)
  4. ngMessage text will be printed many times

What is the expected behavior?

Must be printed only one ngMessage text

Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.

angular.js 1.58
Chrome Version 53.0.2785.143 (64-bit)

Also, I have tested it with 1.6.0.rc-0 and current master branch (HEAD was 3b7f29ff63e8bf02327a1430dcc2a4c83915a206) without success - issue still reproduces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions