Skip to main content

Search and Top Navigation

#3928 closed enhancement (fixed)

Opened January 24, 2009 04:33PM UTC

Closed June 23, 2011 10:29AM UTC

Last modified June 23, 2011 10:30AM UTC

Class-Animation: Please add a clearInlineStyle-Option

Reported by: trixta Owned by: gnarf
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 January 24, 2009 04:34PM UTC.

    Demo of the normal and the enhanced Class-Animation

Change History (6)

Changed February 17, 2009 12:09PM UTC by jzaefferer comment:1

milestone: TBD1.6

Changed March 08, 2009 02:43PM UTC by rdworth comment:2

milestone: 1.71.8

Changed November 18, 2009 05:25PM UTC by scottgonzalez comment:3

See if we can just do this in the callback.

Changed June 23, 2011 10:21AM UTC by gnarf comment:4

owner: → gnarf
status: newassigned

Changed June 23, 2011 10:29AM UTC by Corey Frang comment:5

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

Changed June 23, 2011 10:30AM UTC by gnarf comment:6

This was fixed when I rewrote

animateClass()
Added a unit test in https://github.com/jquery/jquery-ui/commit/a89ff4098a6149817061a752ec3755127f554407 to ensure.