Search and Top Navigation
#5036 closed bug (duplicate)
Opened January 02, 2010 06:18AM UTC
Closed January 02, 2010 03:46PM UTC
Last modified October 11, 2012 09:15PM UTC
removeClass that affects background-color transitions to wrong colour
Reported by: | gregwmay | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.effects.core | Version: | 1.7.2 |
Keywords: | removeClass | Cc: | |
Blocked by: | Blocking: |
Description
My attached sample page has a CSS-styled black background. I have chained an addClass and a removeClass together to make a highlight effect... the affected class changes the background colour to Red.
On calling removeClass, it transitions to white rather than black, finally switching back to black once the animation is complete.
Additional minor point: I am unable to chain addClass and removeClass using regular addClass().removeClass(), instead having to use the callback function in addClass to call removeClass. Not sure if this is as intended.
Attachments (1)
Change History (4)
Changed January 02, 2010 06:22AM UTC by comment:1
Changed January 02, 2010 03:46PM UTC by comment:2
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #4372.
Changed January 02, 2010 03:47PM UTC by comment:3
component: | effects.* (individual effect) → effects.core |
---|
Changed October 11, 2012 09:15PM UTC by comment:4
milestone: | TBD |
---|
Milestone TBD deleted
My workaround for this is to use the jQuery animate function to manipulate backgroundColor, however using classes is preferred because my application uses variable background colours.