Results 1 to 5 of 5

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

    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

  2. #2
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
      0  

    Default

    I also can reproduce it in firefox

  3. #3
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  4. #4
    Ext JS Premium Member andreasn's Avatar
    Join Date
    Jan 2008
    Location
    Zuzwil, Switzerland
    Posts
    12
    Vote Rating
    1
      0  

    Default

    I couldn't find any fix in the nightly builds. Could someone prove if its really fixed or post a bugfix?

  5. #5
    Sencha User
    Join Date
    May 2009
    Posts
    158
    Vote Rating
    10
      0  

    Default

    Says it's fixed in 4.2. My nightly builds are for 4.1.

Posting Permissions

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