2 Commits 68b0e91051 ... b9cdcff19f

Author SHA1 Message Date
  sa03 b9cdcff19f Merge 5 years ago
  sa03 7a85aadbe2 Fix 5 years ago
2 changed files with 6 additions and 4 deletions
  1. 1 1
      _src/components/chatMini/chatMini.vue
  2. 5 3
      _src/mixins/index.js

+ 1 - 1
_src/components/chatMini/chatMini.vue

@@ -28,7 +28,7 @@
         <div class="box-bd" ref="msgBox">
           <div ref="scrollWrap"
             @scroll.prevent="handleScroll"
-            @touchstart.stop="fixIOS(false)"
+
             class="scroller"
           >
             <div ref="msgWrap" class="msg-wrap">

+ 5 - 3
_src/mixins/index.js

@@ -92,7 +92,7 @@ export const chatInputMixin = {
   },
   watch: {
     inputMsg (val, newval) {
-      this.fixIOS()
+      // this.fixIOS()
 
       this.handleSelectionChange()
     }
@@ -184,11 +184,13 @@ export const chatInputMixin = {
       return false
     },
     handleFocus () {
-      this.fixIOS()
+      // this.fixIOS()
+
       document.addEventListener('selectionchange', this.handleSelectionChange)
     },
     handleBlur () {
-      this.fixIOS(false)
+      // this.fixIOS(false)
+
       document.removeEventListener('selectionchange', this.handleSelectionChange)
       this.updateChatInputFocus(false)
     },