Ticket #3928 (closed enhancement: fixed)

Opened 4 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 4 years ago by trixta

Demo of the normal and the enhanced Class-Animation

comment:1 Changed 4 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.6

comment:2 Changed 4 years ago by rdworth

  • Milestone changed from 1.7 to 1.8

comment:3 Changed 4 years ago by scott.gonzalez

See if we can just do this in the callback.

comment:4 Changed 2 years ago by gnarf

  • Owner set to gnarf
  • Status changed from new to assigned

comment:5 Changed 2 years ago by Corey Frang

  • Status changed from assigned to closed
  • Resolution set to fixed

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 2 years ago by gnarf

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.