Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha - Support Team keckeroo's Avatar
    Join Date
    Mar 2008
    Location
    Winnipeg, Canada
    Posts
    301
    Vote Rating
    9
    keckeroo will become famous soon enough

      0  

    Default Panel ignores activeItem config ...

    Panel ignores activeItem config ...


    Should the following app not display the *second* card upon firing up the app ?

    Code:
    Ext.application({
        name: 'MyApp',
        
        launch: function() {
           var panel = Ext.create('Ext.Panel', {
               layout: 'card',
               activeItem: 1, 
               items: [
                  { html: 'Card 1' },
                  { html: 'Card 2' } 
               ]
           });  
    //       panel.setActiveItem(1);
           Ext.Viewport.add(panel);                                     
        }
    });
    The commented out panel.setActiveItem line is the only way I can start the card panel with card 2 showing upon rendering.

    Thank you!

    Kevin

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We noticed this issue as well and it will be part of the next release.

Thread Participants: 1