I have been prototyping a page, trying to use a modal dialog. Before displaying the dialog I need to request some more data from the server so I would like to disable the page until the data has been loaded and the window displayed.
Using Ext.getBody().mask() works but the shading only covers the part of the browser actually displaying content (about 2/3 of the total height in this case). Then, when the window appears the shading covers the entire browser area.
I would like to eliminate this repaint if possible. I tried using Ext.getDoc().mask() but this throws an error.
Is there some way to get this to work?