Results 1 to 3 of 3

Thread: ExtJS 6.2 iframe in maximized window "freezes" input to iframe upon resize of window

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2017
    Posts
    1

    Default 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!

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    6

    Default

    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();
    }});

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    1

    Default

    wokr like charm

Similar Threads

  1. Cannot resize window with iFrame
    By yorl1n in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 19 Aug 2016, 12:08 AM
  2. [FIXED] Window config "maximized" don't disable drag & drop.
    By enbeltran87 in forum Ext JS 6.x Bugs
    Replies: 3
    Last Post: 26 Oct 2015, 5:59 AM
  3. [FIXED] "New Project' while maximized moves and resizes window (Win7)
    By scottd in forum Sencha Architect 2.x: Bugs
    Replies: 2
    Last Post: 17 Aug 2012, 10:58 AM
  4. resize a sub-window contained in a maximized window
    By floflo in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 7 Jun 2010, 7:59 AM
  5. [FIXED] Resize/move a Window over an iframe has problems
    By raintrain in forum Ext GWT: Bugs (1.x)
    Replies: 4
    Last Post: 22 May 2009, 3:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •