Threaded View
-
10 Oct 2012 2:29 AM #1
[4.1.2] Border layout: expanding collapsed region caused iframe reloading
[4.1.2] Border layout: expanding collapsed region caused iframe reloading
REQUIRED INFORMATION
Ext version tested:- Ext 4.1.2
- Chrome
- FireFox
- IE9
- Expanding a region of Border layout caused iframe reloading in the center region.
- Generally, it is a known issue when ifram reloads when moved into another DOM node, but, I think, it should not happen in this case.
- It doesn't happen on collapsing.
- collapseMode: "mini" for the region helps to avoid this issue.
- animCollapse: false doesn't help.
- Collapse the region
- Expand the region
- iframe does not reload
- iframe does reload
HELPFUL INFORMATIONCode:<html> <head> <title>Border iframe reloading</title> <link type="text/css" rel="stylesheet" href="../resources/css/ext-all.css" /> <script type="text/javascript" src="../ext-all-debug.js"></script> <script type="text/javascript"> Ext.onReady(function () { Ext.create("Ext.Viewport", { renderTo: Ext.getBody(), layout: "fit", items: [{ layout: "border", items: [{ width: 200, region: "west", collapsible: true, animCollapse: false, title: "East" }, { region: "center", contentEl: "iframe1", title: "Center" }] }] }); }); </script> </head> <body> <iframe id="iframe1" src="test.htm" class="x-hidden"></iframe> </body> </html>
Operating System:- Windows 7
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-7470
in
4.2.0.179.


Reply With Quote