Results 1 to 4 of 4

Thread: New modal window opens behind old modal window

    You found a bug! We've classified it as EXTJS-23348 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User alexander.urban's Avatar
    Join Date
    Nov 2013

    Default New modal window opens behind old modal window

    First, click on the html editor.
    Then, click on the textfield.

    I would expect the new window to open in front of the old one, but it doesn't.

    If you click on the textfield first, the new window opens in front of the old one!

  2. #2


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Apr 2013


    I'm in ExtJs 6.2.1 and have a same problem. Any workaround?

  4. #4
    Sencha User
    Join Date
    Apr 2013


    A work-around can be something like this (although it is not a prefect work-around):

    Ext.override(Ext.panel.Panel, {
        onFocusEnter: function (e) {
            var me = this;
            if (me.destroying || me.destroyed) {
            var isActiveComponentModal = me.zIndexManager && (active = me.zIndexManager.getActive()) && active.modal;
            if (isActiveComponentModal && active != me) {
            // Focusing must being a floating component to the front.
            // Only bring to front if this component is not the manager's
            // topmost component (may be a result of focusOnToFront).
            if (me.floating && me !== me.zIndexManager.getActive()) {
            // Save all information about how we received focus so that 
            // we can do appropriate things when asked to revertFocus 
            me.focusEnterEvent = e;
            me.containsFocus = true;
            me.fireEvent('focusenter', me, e);

Similar Threads

  1. Replies: 3
    Last Post: 7 May 2014, 9:27 AM
  2. [FIXED] MessageBox displayed over Modal window show up behind Modal Window and invisible
    By nanotron in forum Sencha Touch 1.x: Bugs
    Replies: 11
    Last Post: 21 Oct 2011, 12:57 PM
  3. Replies: 5
    Last Post: 23 Jul 2008, 8:49 AM
  4. [FIXED] DatePicker opens behind modal window in RC1b
    By connysvensson in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 23 Jun 2008, 6:58 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