-
8 Jun 2009 1:53 PM #1
[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):
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.Code:170: public void syncModal() { 171: int w = XDOM.getViewWidth(true); 172: int h = XDOM.getViewWidth(true); 173: setSize(w, h); 174: }
-
8 Jun 2009 2:01 PM #2
Yes you are right. Thanks for reporting.
We optimized the method a little bit. Will be fixed with the next commit.
-
8 Jun 2009 2:08 PM #3
-
8 Jun 2009 2:24 PM #4
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote