[CLOSED] iframe reloads when expanding/collapsing border layouts in hover mode

  1. #1

    [CLOSED] iframe reloads when expanding/collapsing border layouts in hover mode

    http://forums.ext.net/showthread.php...6198#post56198

    I posted an issue on the thread above. Can someone please check this out?

    This seems to work for expanding and collapsing using the button in the panel header. However, when you expand and collapse in hover mode by clicking on the body of a vertically collapsed panel ( like the East region of the border layout ), both chrome and firefox reload the iframe.
    Last edited by Daniil; May 11, 2011 at 6:54 PM. Reason: [CLOSED]
  2. #2
    I'm adding the iframe to the panel inside a border layout like this:

    plnElem.add({
    	loadMask:true
    	,border: false
    	,height: plnElem.getHeight() - 40
    	,autoLoad: 
    	{ 
    		url: url,
    		showMask : true,
    		scripts  : true,
    		mode     : "iframe",
    		method 	 : "POST",
    	}
    });
  3. #3
    Hi,

    Unfortunately, BorderLayout always uses animation during collapsing/expanding therefore iframe will be reloaded by browser
  4. #4
    Will a regular hide and show have the same effect? Why is this an issue with animation?
  5. #5
    Hi,

    For animation effect ExtJS moves region to animation element (move region in the DOM tree), it forces reloading in the FF/Chrome because those browsers assumes that new iframe element is added

    Regular show/hide methods have no such effect
  6. #6
    ok, thanks.

Similar Threads

  1. [CLOSED] Bug with Window and Iframe mode
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 19, 2010, 11:18 AM
  2. [CLOSED] Expanding / Collapsing all groups of a gridpanel
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 17, 2010, 7:43 PM
  3. [CLOSED] XRender Window in iFrame mode.
    By jhouser in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 10, 2010, 3:17 PM
  4. FieldSet title shifting when expanding/collapsing
    By dbassett74 in forum 1.x Help
    Replies: 0
    Last Post: May 28, 2009, 7:57 PM
  5. FieldSet title shifting when expanding/collapsing
    By dbassett74 in forum 1.x Help
    Replies: 4
    Last Post: May 06, 2009, 1:15 PM

Posting Permissions