Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1032 in a recent build.
  1. #11
    Sencha User
    Join Date
    Oct 2011
    Posts
    127
    Vote Rating
    0
    robl is on a distinguished road

      0  

    Default


    Thank you! The external link (capture links) issue is equally important as the tab panel fix. I can't have mailto: or tel: or other external links in my Sencha Touch app.

    Quote Originally Posted by Jamie Avins View Post
    I'll try to get you an override with this one as soon as I can.

  2. #12
    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


    This override should fix the error and the tabs should animate in the proper direction as well:

    Code:
        Ext.override(Ext.tab.Panel, {
            doSetActiveItem: function(newActiveItem, oldActiveItem) {
                if (newActiveItem) {
                    var items = this.getInnerItems(),
                        oldIndex = items.indexOf(oldActiveItem),
                        newIndex = items.indexOf(newActiveItem),
                        reverse = oldIndex > newIndex;
        
                    this.getLayout().getAnimation().setReverse(reverse);
        
                    this.callParent(arguments);
        
                    if (newIndex != -1) {
                        this.getTabBar().setActiveTab(newIndex);
                    }
                }
            }
        });
    This will be part of the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #13
    Sencha User
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    insnet is on a distinguished road

      0  

    Default


    Got the same error with "Ext.NestedList" using PR2