Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
ExtJS 6.2 iframe in maximized window "freezes" input to iframe upon resize of window
When you have an iframe within a maximized window it will produce a mask over the iframe when you try to resize the edge of the maximized window.
I have tracked down the issue being within the Ext.resizer.ResizeTracker onMouseDown/onMouseUp events. The onMouseUp is never fired after masking the iframes within the onMouseDown.
See this fiddle for an example of what happens.
https://fiddle.sencha.com/#view/editor&fiddle/1qt7
Currently I am using an override of the methods to prevent masking of the iframes.
Code:
Ext.override(Ext.resizer.ResizeTracker, {
onMouseDown: function(e, target) {
this.callSuper([
e,
target
]);
// Ext.dom.Element.maskIframes();
},
onMouseUp: function(e) {
this.callSuper([
e
]);
// Ext.dom.Element.unmaskIframes();
},
});
Any help on the proper fix is appreciated.
Thanks!
-
Sencha Premium Member
It is due to, on maximized window it not call onMouseUp event and it can not unmask ifremes.
It should check if window is maximized and if it is not allow to mask ifremes.
Code:
Ext.override(Ext.resizer.ResizeTracker, {
onMouseDown: function(e, target) {
this.callSuper([
e,
target
]);
if(!this.el.hasCls('x-window-maximized'))
Ext.dom.Element.maskIframes();
}});
-
Sencha User