View Full Version : [FIXED-541][3.1.1 r6013] layoutOnCardChange/layoutOnTabChange now forced to true

8 Feb 2010, 4:59 PM
As of svn r6013, the CardLayout no longer honors the layoutOnCardChange, instead always doing the layout. Note that this is the opposite of the default value and opposite of the docs.

I used this:

var layout = item.doLayout && (this.layoutOnCardChange || !item.rendered);
if (layout) {

8 Feb 2010, 5:03 PM
Obviously, I'm just merging from my version to yours. The above code has two checks on doLayout to see if it exists. Whomever is working on the layout stuff ought to know what to do...

Jamie Avins
25 Feb 2010, 11:38 AM
Updated in 6164 for 3.2.x. LayoutOnTabChange will again be honored, but the layout it triggers will not be a forced recursive one.