Results 1 to 2 of 2

Thread: [4.2.0.489] Accordion Layout is strange when fill: false.

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8700 in 4.2.0.663.
  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
      0  

    Default [4.2.0.489] Accordion Layout is strange when fill: false.

    When set fill as false, closing currently opened panel by click cause strange behavior.

    On below code, click "Panel 1" when "Panel 1" is open should close "Panel 1" and open "Panel 2", but "Panel 1" is still open. Then click "Panel 2", "Panel 1" and "Panel 2" will open both.

    Also, click "Panel 2" twice should open "Panel 3" but open blank "Panel 1".


    Code:
    Ext.create('Ext.panel.Panel', {
        width: 300,
        height: 300,
        layout: {
            // layout-specific configs go here
            type: 'accordion',
            fill: false
        },
        items: [{
            title: 'Panel 1',
            html: 'Panel content!'
        },{
            title: 'Panel 2',
            html: 'Panel content!'
        },{
            title: 'Panel 3',
            html: 'Panel content!'
        }],
        renderTo: Ext.getBody()
    });

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,421
    Vote Rating
    1271
      0  

    Default

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

Tags for this Thread

Posting Permissions

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