Browse Source

Merge branch 'fix/mobile_form_resize_release' into 'release'

修改移动端表单输入法隐藏导致下半部分空白的bug

See merge request o2oa/o2oa!405
楼国栋 5 years ago
parent
commit
b53d8f13b5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      o2web/source/x_component_process_Xform/Form.js

+ 4 - 1
o2web/source/x_component_process_Xform/Form.js

@@ -1682,7 +1682,10 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
             this.startDraftProcess();
         } else {
             if (this.json.mode == "Mobile") {
-                this.processWork_mobile();
+                setTimeout(function () {
+                    this.processWork_mobile();
+                }.bind(this), 100);
+
             } else {
                 this.fireEvent("beforeProcessWork");
                 if (this.app && this.app.fireEvent) this.app.fireEvent("beforeProcessWork");