1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    4
    Vote Rating
    0
    Bluezik is on a distinguished road

      0  

    Default [2.0a1] Accordion panels remain open

    [2.0a1] Accordion panels remain open


    Hello,

    I'm really excited about this new version... but still, I've found a bug in the accordion widget with Firefox 2.0 or Safari (MacOS).

    With the demo accordion code :

    Code:
    var accordion = new Ext.Panel({
        title: 'Accordion Layout',
        layout:'accordion',
        defaults: {
            // applied to each contained panel
            bodyStyle: 'padding:15px'
        },
        layoutConfig: {
            // layout-specific configs go here
            titleCollapse: false,
            animate: true,
            activeOnTop: true
        }
        items: [{
            title: 'Panel 1',
            html: '<p>Panel content!</p>'
        },{
            title: 'Panel 2',
            html: '<p>Panel content!</p>'
        },{
            title: 'Panel 3',
            html: '<p>Panel content!</p>'
        }]
    });
    If animate is true, clicking quickly on 2 collapsed panels will open both of them... and keep them open.

    Hope it will help...

    Matthieu.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    animate true and activeOnTop are not compatible. I will update the docs to reflect that.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Ext User
    Join Date
    Oct 2007
    Posts
    4
    Vote Rating
    0
    Bluezik is on a distinguished road

      0  

    Default


    Thanks for your answer.

    But it doesn't seem to be the problem. Even if I set activeOnTop to false, it seems that trying to expand a panel in the accordion while another panel is expanding (with an animation) results in two opened panels (see attachment).

    Thanks!

    Matthieu.
    Attached Images

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi