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.

angular-animate is crippling ng-repeat performance #4789

Closed
@kdekooter

Description

@kdekooter

I am rendering a list of about 280 items in a table like so:

<tr ng-repeat="item in items | orderBy:'name' | limitTo:displayLimit | filter:filter.query | filter:filterTags" ng-click="showItem(item.tcId)" class="tc-clickable">
   <td>{{item.sellersItemIdentification}}</td>
   <td>{{item.name}}</td>
   <td>{{ item.tags | stringList }}</td>
   <td>{{item.salesPrice | currency:'€ '}}</td>
</tr>

After a lot of digging around I found out that ng-animate is totally crippling the rendering performance of this table:

image

Removing ngAnimate from the app makes the table render as expected: fast.

Is this a bug? Can the animation stuff be disabled for this view? I am using angular version 1.2-rc2

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