Roo/bootstrap/Form.js
authoredward <edward@roojs.com>
Wed, 29 Nov 2017 10:36:30 +0000 (18:36 +0800)
committeredward <edward@roojs.com>
Wed, 29 Nov 2017 10:36:30 +0000 (18:36 +0800)
Roo/bootstrap/Form.js

index 97d2072..bccb949 100644 (file)
@@ -644,8 +644,8 @@ Roo.apply(Roo.bootstrap.Form, {
             this.maskEl.left.setXY([box.right + this.padding, box.y + this.padding]);
             this.maskEl.left.show();
             
-            this.maskEl.bottom.setSize(Roo.lib.Dom.getDocumentWidth(), Roo.lib.Dom.getDocumentHeight() - box.bottom);
-            this.maskEl.bottom.setXY([0, box.bottom]);
+            this.maskEl.bottom.setSize(Roo.lib.Dom.getDocumentWidth(), Roo.lib.Dom.getDocumentHeight() - box.bottom - this.padding);
+            this.maskEl.bottom.setXY([0, box.bottom + this.padding]);
             this.maskEl.bottom.show();
             
             this.maskEl.right.setSize(box.x, box.height);