1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    8
    Vote Rating
    0
    weige215 is on a distinguished road

      0  

    Default Unanswered: in extjs4, when tabpanel change, tabpanel's showing have problem!

    Unanswered: in extjs4, when tabpanel change, tabpanel's showing have problem!


    i dynamically load iframe to tabpanel, but you click quickly next tabpanel, the previos tabpanel can't show. in extjs3, use layoutOnTabChange can solve the problem, but in extjs4, how to solve the problem?
    the error's picture as Attachment。
    Attached Images

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,190
    Vote Rating
    195
    Answers
    436
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    We will need more details ... please update the following to duplicate.

    Code:
    Ext.create('Ext.tab.Panel', {
        width: 800,
        height: 600,
        activeTab: 0,
        items: [
            {
                title: 'Tab 1',
                bodyPadding: 10,
                html : '<iframe src="http://www.sencha.com" width="100%" height="100%" ></iframe>'
            },
            {
                title: 'Tab 2',
                html : '<iframe src="http://www.html5.com" width="100%" height="100%" ></iframe>'
            }
        ],
        renderTo : Ext.getBody()
    });​
    Scott