Przeglądaj źródła

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

fancy 5 lat temu
rodzic
commit
4ee695c233
1 zmienionych plików z 4 dodań i 1 usunięć
  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();
             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");