Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2014
    Posts
    7
    Vote Rating
    0
    gnagno is on a distinguished road

      0  

    Default Why Reloading iframe after window collapse or expand

    Why Reloading iframe after window collapse or expand


    Hi guys,
    i'm using Ext js 3.4

    I create a window with an iframe that load a jsp. When the user Collapse or Expand the window the jsp associated to the iframe is reloaded. Why does it happens?? Is it a Bug?

    Is there a way to avoid the reload?

    This the code that reproduce the problem:

    Code:
         var win = new Ext.Window({
                        id:'testwin'
                        ,title: 'test win'
                        ,width:  700
    ,height:  450
    ,border:false
    ,modal:false
    ,constrainHeader:true
    ,collapsible:true
    ,maximizable:true
    ,items: [{
                            xtype : "component",
                            autoEl : {
                                tag : 'iframe',
                                style: 'width:100%;height:100%;background-color:#DFE8F6;',
                                frameborder: 0 ,
                                src :'test.jsp'
                            }
                        }]
    
    
                    });
                    win.show();

    Best Regards

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    5,028
    Vote Rating
    96
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  


    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager:
    sheryl@sencha.com

  3. #3
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    5,028
    Vote Rating
    96
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


    I put your test case into this Fiddle:
    https://fiddle.sencha.com/#fiddle/guc

    Here's a related thread:
    http://www.sencha.com/forum/showthread.php?112421

    Here's the bug report for the fix in 4.x.
    http://www.sencha.com/forum/showthread.php?245536


    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager:
    sheryl@sencha.com

Thread Participants: 1

Tags for this Thread