Skip to content

Commit 8360495

Browse files
committed
(fix) do not auto focus input on mobile
1 parent 6e166cb commit 8360495

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ChatWindow/MessagesList.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ export default {
354354
this.$refs['roomTextarea'].style.height = '32px'
355355
},
356356
focusTextarea() {
357+
if (this.isMobile) return
357358
this.$refs['roomTextarea'].focus()
358359
},
359360
isMessageEmpty() {

0 commit comments

Comments
 (0)