Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    2,006
    Vote Rating
    55
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default [FNR] ModalPanel size

    [FNR] ModalPanel size


    Seems that the ModalPanel is being sized incorrectly when you have a Dialog that is modal. Looking at ModalPanel.syncModal(), the bug is pretty obvious (line numbers from trunk):
    Code:
    170:  public void syncModal() {
    171:    int w = XDOM.getViewWidth(true);
    172:    int h = XDOM.getViewWidth(true);
    173:    setSize(w, h);
    174:  }
    If the page can be scrolled, this shows up quickly - scroll down too far, and the mask disappears. If 172 sets h to XDOM.getViewHeight(true) instead, this issue doesn't happen.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,753
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Yes you are right. Thanks for reporting.

    We optimized the method a little bit. Will be fixed with the next commit.

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,753
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Fixed in SVN

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    2,006
    Vote Rating
    55
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    Man, you guys are on fire today... Any chance I can redirect you to some of my older bugs?

    We really do appreciate the rapid response - keep it up!