Results 1 to 5 of 5

Thread: Tabbar not working in Ext JS 6.5

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    Apr 2009
    Location
    Raalte, Netherlands
    Posts
    253

    Default Tabbar not working in Ext JS 6.5

    Ext version tested:


    • Ext 6.5.0 rev 775


    • Ext 6.5.1 rev 66


    Browser versions tested against:


    • FF3 (firebug 1.3.0.10 installed)
    • Chrome


    DOCTYPE tested against:


    • ____



    Description:


    • When clicking the tabs, an error will show up 'me.layout.setActiveItem is not a function'. This happened in my case when I have some propertygrid and panels in different tabs.



    How to reproduce the error




    • The fiddle is using the classic Ext JS framework
    • In the fiddle below it uses by default Ext JS 6.5 (then it is not working)
    • When changing the framework to Ext JS 6.2.1 (it works as expected)







    The result that was expected:


    • It works in Ext JS 6.2.1, I was expecting the same result, not an error



    The result that occurs instead:


    shutter_00117.jpg

  2. #2
    Sencha Premium User
    Join Date
    Apr 2009
    Location
    Raalte, Netherlands
    Posts
    253

    Default

    It seems that replacing the 'old' code from Ext JS 6.2.1 in ext-all-rtl-debug.js (for test) solves the problem.

    In the initComponent function of Ext.tab.Panel:

    Code:
    me.layout = new Ext.layout.container.Card(Ext.apply({
        owner: me,
        deferredRender: me.deferredRender,
        itemCls: me.itemCls,
        activeItem: activeTab
    }, me.layout));

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Buckingham, UK
    Posts
    48

    Default

    Did this get solved - we have same issue in 6.5.3

  4. #4
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default

    The problem in the fiddle is

    Code:
        layout: {
            type: 'fit'
        },
    Tab panel wants to have a card layout, which it has by default.

  5. #5
    Sencha User
    Join Date
    Oct 2011
    Location
    Buckingham, UK
    Posts
    48

    Default

    Thank you so much ..... that fixed it

Similar Threads

  1. [FIXED] ExtJs 6.5 TabBar config not working properly
    By Rotterdam in forum Ext JS 6.x Bugs
    Replies: 5
    Last Post: 18 Jul 2017, 3:37 AM
  2. sencha touch 2.4.1 - tabbar - double tap - ios 8 - not working always
    By lourdhumca in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 16 Apr 2015, 2:54 PM
  3. Sencha Touch 2.2: TabPanel with bottom TabBar not working when using Stores
    By francesco.basenghi in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 10 May 2013, 1:11 AM
  4. Add button to TabBar in TabPanel with dockedItems not working
    By yoni1887 in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 14 Nov 2012, 6:19 AM
  5. Slide-in Toolbar/Tabbar - not working as expected...
    By sandor in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 16 Oct 2010, 7:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •