1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Gujarat,India
    Posts
    54
    Answers
    1
    Vote Rating
    0
    nareh tank is on a distinguished road

      0  

    Default Unanswered: z-index problem in modal window

    Unanswered: z-index problem in modal window


    I have to open one modal window over second modal window. after display second window both are fighting for to be in front.
    I already tried bringToFront() method but it did not work.
    anybody have solution for this problem.

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    I can strongly recommend not to use 2 masks at the same time, since it is not a best practise UI wise.

    I personally don't think Ext JS has a built in logic for handling this, so if you really want to, take a look into the ZIndexManager:

    _hideModalMask
    _showModalMask

    http://docs.sencha.com/extjs/4.2.0/s..._hideModalMask

    my approach would be to remove the modal mask of the first window before opening the second one.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

Thread Participants: 1

Tags for this Thread