PDA

View Full Version : [FIXED][3.0 RC1] CompositeElement.enableDisplayMode does not work?



jesse.dhillon
16 Apr 2009, 7:51 PM
Just tried switching my app to 3.0-rc1 to see what works and what doesn't. This doesnt:



var els = Ext.select('.foo', true, node);
els.enableDisplayMode();
els.slideOut('t');
If you inspect the DOM you will see that the mode on the elements was still visibility, not display. A workaround is:



var els = Ext.select('.foo', true, node);
els.each(function(el) {
el.enableDisplayMode();
});
els.slideOut('t');
Can anyone else confirm this?

jesse.dhillon
16 Apr 2009, 8:11 PM
Just found out about the useDisplay config option for effects. I was just doing it the wrong way previously, which happened to work anyway.

Condor
17 Apr 2009, 11:18 AM
Ext.select(..., true, ...) is currently broken in Ext 3.0 (see other bugreport (http://www.extjs.com/forum/showthread.php?p=317798#post317798)).

evant
17 Apr 2009, 2:11 PM
Fixed in SVN.