Side navigation
#3088 closed bug (duplicate)
Opened June 25, 2008 09:27PM UTC
Closed January 17, 2009 07:27PM UTC
Last modified March 14, 2012 09:07PM UTC
fadeOut always begins fade at opacity=100 in IE
Reported by: | MoonScript | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | effects | Version: | 1.2.3 |
Keywords: | fadeOut, opacity | Cc: | |
Blocked by: | Blocking: |
Description
IE-specific issue.
Let's say an element has an existing opacity value set in the CSS like this: filter:alpha(opacity=65);
If you try to use fadeOut, the animation will always start changing the opacity value beginning at 100, instead of its inital value of 65. This creates a "flash", as the element's opacity gets set back to 100 for a split-second before it starts to fade out.
The IE-specific fix should be that the fadeOut method (really the curCSS method) checks the element's "filters" collection to get the current opacity value and start from there, instead of defaulting to 100 (since the element won't have an opacity style set, only the alpha filter).
Here is an example of the fadeOut opacity issue!