sa03 5 år sedan
förälder
incheckning
7a85aadbe2
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 1 1
      _src/components/chatMini/chatMini.vue
  2. 3 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">

+ 3 - 3
_src/mixins/index.js

@@ -79,7 +79,7 @@ export const chatInputMixin = {
   },
   watch: {
     inputMsg (val, newval) {
-      this.fixIOS()
+      // this.fixIOS()
 
       this.handleSelectionChange()
     }
@@ -104,12 +104,12 @@ 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)