-
22 Oct 2011 6:33 PM #1
Panel ignores activeItem config ...
Panel ignores activeItem config ...
Should the following app not display the *second* card upon firing up the app ?
The commented out panel.setActiveItem line is the only way I can start the card panel with card 2 showing upon rendering.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); } });
Thank you!
Kevin
-
31 Oct 2011 11:12 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
We noticed this issue as well and it will be part of the next release.
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.


Reply With Quote