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

ngAnimate (v1.2.0rc1) : ngRepeat shows stale items #3613

Closed
@damrbaby

Description

@damrbaby

When updating an array that is used for an ngRepeat, the list will momentarily show what appears to be the previous items together with the new items before updating with the new items. This only happens when ngAnimate is a dependency for the app.

Please see http://plnkr.co/edit/fqrI0w1j0HqtV3CTzsFI?p=preview

When you click on the different lists in the above example, you will see how it momentarily shows a combination of the previous and current lists before showing the current one.

Watch carefully, it happens very fast!

This buggy behavior will not occur when you remove ngAnimate.

This bug is serious because it makes ngAnimate virtually unusable for apps that use ngRepeat due to the flashing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions