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 - long animation-times on 1 of 2 ng-repeats causes stale elements in 2nd ng-repeat #11203

Closed
@intellix

Description

@intellix

I was having an issue that elements were getting left behind for 10 seconds and after lots of debugging, traced it back to accidentally leaving a 10 second animation-time on a menu which changes the dataset.

So: a long animation-time on a 1 of 2 ng-repeats will cause the 2nd ng-repeat to contain stale data for the duration of the 1st animation-time... but hovering over them makes them disappear

Example: http://codepen.io/intellix/pen/jExyPe

  1. Click a button (change the dataset)
  2. You'll notice the data-set in a separate ng-repeat goes stale (hovering over the stale elements makes them disappear).

I would have asked if this was expected behaviour, but hovering over the elements to make them disappear makes me doubt that

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions