Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    28
    Vote Rating
    2
    chenjie100 is on a distinguished road

      0  

    Default Body mask cannot cover window.

    Body mask cannot cover window.


    Ext version tested:
    • Ext 4.1 RC1
    Browser versions tested against:
    • Firefox 11
    • Chrome 17
    Description:
    • Body mask cannot cover window.
    Steps to reproduce the problem:
    • create a new window and show it.
    • mask body
    The result that was expected:
    • all components be covered by mask
    The result that occurs instead:
    • window cannot be covered by mask
    Test Case:

    Code:
    var win=new Ext.window.Window({title:'win',width:300,height:300});
    win.show();
    Ext.getBody().mask();

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,085
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This is by design. The body mask will only mask the document body and not any windows that sit ontop.
    If you create a modal window, then all items are masked.

    You could also do something like:

    Code:
    Ext.onReady(function() {
    	var win = new Ext.window.Window({
    		title: 'win',
    		width: 300,
    		height: 300,
    		//focusOnToFront: false
    	});
    	win.show();
    	win.setLoading(true);
    	Ext.getBody().mask();
    });
    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    28
    Vote Rating
    2
    chenjie100 is on a distinguished road

      0  

    Default


    Thank you for your reply. Is there any way to cover all the components in the page (including windows)?

Thread Participants: 1

Tags for this Thread