Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2009
    Location
    Bucharest, Romania
    Posts
    70
    Vote Rating
    0
    icflorescu is on a distinguished road

      0  

    Exclamation [DUPE] [3.3 & 3.2.1] Theme Viewer - MessageBox not modal in Firefox

    [DUPE] [3.3 & 3.2.1] Theme Viewer - MessageBox not modal in Firefox


    Ext version tested:
    • Ext 3.3.0
    • Ext 3.2.1

    Browser versions tested against:
    • IE8
    • Chrome 6
    • Firefox 3.6.10

    Operating System:
    • Mac OS X
    • Windows 7

    Description:

    The user is able to bypass the modal behavior of a MessageBox in Firefox!
    I only tested this in Theme Viewer example, both v.3.3 & V.3.2.1...
    It happens in Firefox, but works as expected in Chrome and IE.

    See this URL : http://dev.sencha.com/deploy/dev/exa...mes/index.html

    Steps to reproduce the problem:
    1. Open the above URL in Firefox;
    2. Click "Submit" in the window sample on top - a confirmation MessageBox should appear;
    3. Press Tab twice and the focus will move to the first text field in "Form Widgets" panel behind; this shouldn't happen.

    Screenshot:
    MessageBox_loses_focus_in_FF.png

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    82
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Duplicate.

    This happens on any browser (not Firefox specific).

    There are 2 know workarounds:
    1. Temporarily disable all controls outside the modal window.
    2. Use the focusout event to keep the focus inside the window (I prefer this one).

    (code for both can be found on the forum)

  3. #3
    Sencha User
    Join Date
    Oct 2009
    Location
    Bucharest, Romania
    Posts
    70
    Vote Rating
    0
    icflorescu is on a distinguished road

      0  

    Default


    Confirmed.

    There are some minor differences between browsers; in Firefox pressing tab twice in the provided test case will focus the text field behind, while doing the same in Chrome sends the focus to the browser address bar.

    Thanks for the workaround tips!

Similar Threads

  1. MessageBox not modal
    By jd987 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 4 Jan 2008, 8:40 AM
  2. Error in Feed Viewer 3 in Firefox
    By Aleks_P in forum Community Discussion
    Replies: 0
    Last Post: 13 Nov 2007, 10:46 PM
  3. Ext.MessageBox.alert *not* modal
    By franzisk in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 27 Jun 2007, 8:23 AM
  4. [1.0a2 Rev 5] MessageBox opens not modal (modal: true)
    By Arikon in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 Feb 2007, 9:52 PM

Thread Participants: 1