Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#3928 closed enhancement (fixed)

Class-Animation: Please add a clearInlineStyle-Option

Reported by: trixta Owned by: Corey Frang
Priority: minor Milestone: 1.9.0
Component: ui.effects.core Version: 1.6rc5
Keywords: Cc:
Blocked by: Blocking:

Description

I realy like the Class-Animation feature in effects.core. It ´s an awsome way to keep the JS clean from CSS. But i have to call often the stop-method with goToEnd parameter set to true, to avoid bugs. On the other hand this can make my animation less smoother. Something like a clearInlineStyle or noInlineStyleRestore or something like this, would be a great feature.

If you don´t realy understand what i mean, please look in the attached demonstration file.

regards alex

Attachments (1)

classanimate.zip (46.4 KB) - added by trixta 14 years ago.
Demo of the normal and the enhanced Class-Animation

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by trixta

Attachment: classanimate.zip added

Demo of the normal and the enhanced Class-Animation

comment:1 Changed 14 years ago by Jörn Zaefferer

Milestone: TBD1.6

comment:2 Changed 14 years ago by rdworth

Milestone: 1.71.8

comment:3 Changed 14 years ago by Scott González

See if we can just do this in the callback.

comment:4 Changed 12 years ago by Corey Frang

Owner: set to Corey Frang
Status: newassigned

comment:5 Changed 12 years ago by Corey Frang

Resolution: fixed
Status: assignedclosed

Unit Tests: Adding a unit test to make sure .stop( true, true ) clears the inline styles when using animateClass - Fixed #3928 - Class-Animation: Please add a clearInlineStyle-Option

Changeset: a89ff4098a6149817061a752ec3755127f554407

comment:6 Changed 12 years ago by Corey Frang

This was fixed when I rewrote animateClass() Added a unit test in https://github.com/jquery/jquery-ui/commit/a89ff4098a6149817061a752ec3755127f554407 to ensure.

Note: See TracTickets for help on using tickets.