Colin Alworth
8 Jun 2009, 1:53 PM
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):
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.
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.