addClass not animating
|Reported by:||quasipickle||Owned by:||quasipickle|
Calling addClass() with a second parameter does not animate the style change, unless the element has a "class" attribute.
Example: http://jsfiddle.net/Z6mJU/108/ (Note: jsFiddle only has v1.8.16, but I'm experiencing the problem with 1.8.17, it's just not demonstrable via jsFiddle)
Affected jQueryUI versions: 1.8.17 (running the above Fiddle with v1.8.9 and v1.8.7 do work, so I'm guessing this is a regression?
Browsers tested: Firefox 9.0.1, Chrome 17
OS tested: OS X
Expected results: all animate-able properties of the class to be added, get animated in over the provided duration.
Encountered results: Without a "class" attribute, the class gets added immediately - just as it would with the default jQuery addClass() function.
Change History (10)
comment:1 Changed 5 years ago by scottgonzalez
- Owner set to quasipickle
- Status changed from new to pending
comment:3 follow-up: ↓ 4 Changed 5 years ago by scottgonzalez
- Resolution set to fixed
- Status changed from open to closed