Thanks to visit codestin.com
Credit goes to github.com

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.

Inline styles destroyed on elements with ng-model directives if css transition is defined #7503

Closed
@jwhiting

Description

@jwhiting

If the ngAnimate module is included in the app, elements with ng-model directives will lose their inline style definitions on the first change to the model property, IF the element has a class which declares a css transition.

A JSFiddle to demonstrate: http://jsfiddle.net/q54Tj/2/

Expected behavior: inline styles should always be preserved on elements regardless of transition definitions or inclusion of ngAnimate module.

I'm not sure what version of Angular introduced this issue, but I've been running for a while on 1.2.5 and when I tried 1.3.9, I noticed this happening in some of my forms. It is reproducible in all browsers I've tried, including the latest versions of Chrome, Firefox, IE, & Safari on OSX 10.8.5 and Win7.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions