Results 1 to 5 of 5

Thread: [4.1.3] Accordion With Delayed Add Expands Too Many Groups

Threaded View

Previous Post Previous Post   Next Post Next Post
    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 User
    Join Date
    May 2009
    Posts
    158
    Vote Rating
    10
      0  

    Default [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 Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •