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.

ng-animate causes unwanted animation with existing css transition properties (eg bootstrap) #6070

@mediastuttgart

Description

@mediastuttgart

i am having an issue where using animations (ngAnimate) for some components.

i have noticed that when using ngSwitch an animation occurs while angular is doing the switch. at first i had no idea why that happens (because i do not use any ng-animate on that) until i found out that this animation comes from the already defined transition properties of twitters bootstrap css.

i have setup an example on jsfiddle that demonstrates the issue

http://jsfiddle.net/WdL8H/

EDIT

found out that you can disable animations for certain classes with

$animateProvider.classNameFilter(/^((?!classname).)*$/);

so is this the way to go or is this a bug?

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