jQuery: The Write Less, Do More JavaScript Library

Ticket #200 (closed bug: fixed)

Opened 2 years ago

Last modified 1 year ago

FadeIn/FadeOut breaks if opacity is already set

Reported by: brandon.aaron@… Assigned to: anonymous
Type: bug Priority: major
Milestone: Component: fx
Version: 1.0 Keywords:
Cc: Needs:

Description

I ran into an issue where I already had opacity set on an element and then tried to fadeOut/fadeIn but it broke. If opacity is set to 0, then nothing happens but if opacity is set to any other number then it just toggles the display property from block to none.

Attachments

Change History

Changed 2 years ago by brandon.aaron@…

Using .fadeTo still works with a previous 'opacity' set via .css.

Changed 2 years ago by brandon

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN revision 407.

Note: See TracTickets for help on using tickets.