2 Attachment(s)
[4.1.3] Accordion With Delayed Add Expands Too Many Groups
REQUIRED INFORMATION
Ext version tested:
Browser versions tested against:
Description:- An window is created with an accordion layout.
- One second later, four panels are added to it.
- In 4.1.2 and before, this would expand the first and collapse the rest.
- In 4.1.3, all four are expanded. No matter what you collapse, there will always be at least two expanded.
Steps to reproduce the problem:- Go to the Feed Viewer example in 4.1.2 and 4.1.3.
- Run the code below
The result that was expected:- It would behave like 4.1.2
The result that occurs instead:
Test Case:
Code:
Ext.onReady(function() {
var win;
win = Ext.create("Ext.window.Window", {
width:500,
height:500,
layout:"accordion"
});
win.show();
setTimeout(function() {
win.add(
{
xtype:"panel",
html:"1"
},
{
xtype:"panel",
html:"2"
},
{
xtype:"panel",
html:"3"
},
{
xtype:"panel",
html:"4"
}
);
}, 1000);
});