Skip to content

jQuery.css with empty value disables transition from 3.3.0 #4185

@itchyny

Description

@itchyny

Description

Setting some specific properties to empty value with jQuery.css once and setting a new style disables the animation (CSS transition). See the following examples.

This looks like a breaking change introduced in 3.3.0. I believe this is an unexpected behavior. It animates when I use jQuery 2 (https://jsfiddle.net/L1u7o8zv/).

Link to test case

https://jsfiddle.net/j5ranug1/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions