Kaynağa Gözat

Merge branch 'fix/mobile_form_resize' into 'develop'

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

See merge request o2oa/o2oa!402
楼国栋 5 yıl önce
ebeveyn
işleme
1a55b31f93

+ 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");