Threaded View

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7715 in 4.2.0.265.
  1. #1
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    157
    Vote Rating
    9
    ZachG will become famous soon enough

      0  

    Default [4.1.3] Accordion With Delayed Add Expands Too Many Groups

    [4.1.3] Accordion With Delayed Add Expands Too Many Groups


    REQUIRED INFORMATION




    Ext version tested:
    • Ext 4.1.3.548

    Browser versions tested against:
    • Chrome

    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:
    • Nope

    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);
    });
    Attached Images

Thread Participants: 2