PDA

View Full Version : clearOpacity at the end of fadeIn? Bug fix for IE7



aconran
25 Feb 2007, 12:27 PM
On another post http://www.yui-ext.com/forum/viewtopic.php?t=3085 Jeff Howden informed me that my text was garbled in IE7. I have been unable to reproduce this problem but it seems that for it to render properly at the end of the fadeIn animation clearOpacity() had to be called.

The following is a workaround:

Ext.fly('book-description-form').fadeIn({callback: function() {
Ext.fly('book-description-form').clearOpacity();
}
}
);

JeffHowden
25 Feb 2007, 12:28 PM
To clarify, you'd only want to do this when the end opacity is 100%. Otherwise, you'd be removing whatever custom end opacity you'd specified.

jack.slocum
25 Feb 2007, 12:35 PM
Actually it should be doing that by default like fade out does. I added it in.