You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Nov 2008
    Location
    Tehran, Iran
    Posts
    11
    Vote Rating
    0
    PATMAP is on a distinguished road

      0  

    Default [BUG] Ext-4.2.0.489 Scroll Button in TabPanel

    [BUG] Ext-4.2.0.489 Scroll Button in TabPanel


    Hi,

    1) There is an bug in scroll button in tabpanel with RTL mode.
    The scroll button is disabled and cant scroll to next tabs.
    This error have in Fire Fox and IE but work in Google Chrome.

    2) If i set
    Code:
    activeTab: 7
    then i cant see this tab and not scroll on this tab.

    I test on FireFox 19.0, IE 10, Google Chrome 25.0.1364.97

    Sample Code:

    Code:
    Ext.require([
        'Ext.tab.*'
    ]);
    
    
    Ext.onReady(function(){
    
    
        var tabs2 = Ext.widget('tabpanel', {
            renderTo: document.body,
            activeTab: 0,
            width: 600,
            height: 250,
            plain: true,
            rtl:true,
            defaults :{
                autoScroll: true,
                bodyPadding: 10
            },
            items: [
                {
                    title: 'Normal Tab 1',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 2',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 3',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 4',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 5',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 6',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 7',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 8',
                    html: "My content was added during construction."
                },{
                    title: 'Normal Tab 9',
                    html: "My content was added during construction."
                }
            ]
        });
    });
    RTLTabBug1.png

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1