PDA

View Full Version : [CLOSED] Message Box has incorrect display in iframe.



LEugene
14 Jan 2014, 1:12 AM
Ext version:
Ext 4.2.2.1144


Browser versions:
Chrome 32.0.1700.72 m - Ok
FireFox 26.0 - FAIL
IE 10.0.9200.16750 - FAIL

Scenario:
1.Have Ext.tab.Panel with two tabs, iframe page is loading in second tab;
2.Iframe page has button with timer popup message;
3.Load Ext.tab.Panel go to iframe tab, click button and go to general tab for a few seconds until the message will pop up;
4.Return to iframe tab, MessageBox has incorrect display.
5.Reproduced on FireFox and IE

47577

Ext.tab.Panel -> http://jsfiddle.net/Amikiko/Qk8NE/1/
(http://jsfiddle.net/Amikiko/Qk8NE/1/)Iframe page -> http://jsfiddle.net/Amikiko/mpa2T/2/

evant
14 Jan 2014, 1:40 AM
Add hideMode: 'visibility' to your tab:



title: 'iframe',
hideMode: 'visibility'


We won't "fix" this because we can't really. There's no reasonable way to know that you're embedding a frame there and doing any sort of cross communication between frames it out of scope.