Success! Looks like we've fixed this one. According to our records the fix was applied for
a recent build.
Ext.layout.Card, Ext.carousel.Carousel / setActiveIndex(), next(), prev() wrong cmp
Both, Panels using Ext.layout.Card and the Ext.carousel.Carousel component have problems to display the right component when using next(), prev(), setActiveItem(cmp).
Every time I used the API I had a $taget -1 problem. If I have a config like:
Then a setActiveItem(Ext.getCmp('card2')) call will result in showing card1.
Also when using next() and prev() it is always the component with an index one below the selected one.
Thanks & Regards
Looks like this was fixed in PR2.