Эх сурвалжийг харах

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

fancy 5 жил өмнө
parent
commit
95a5e423cb

+ 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();
             this.startDraftProcess();
         } else {
         } else {
             if (this.json.mode == "Mobile") {
             if (this.json.mode == "Mobile") {
-                this.processWork_mobile();
+                setTimeout(function () {
+                    this.processWork_mobile();
+                }.bind(this), 100);
+
             } else {
             } else {
                 this.fireEvent("beforeProcessWork");
                 this.fireEvent("beforeProcessWork");
                 if (this.app && this.app.fireEvent) this.app.fireEvent("beforeProcessWork");
                 if (this.app && this.app.fireEvent) this.app.fireEvent("beforeProcessWork");