diff --git a/src/ChatWindow/Room.vue b/src/ChatWindow/Room.vue index e8a9a61c..3fc84cb2 100644 --- a/src/ChatWindow/Room.vue +++ b/src/ChatWindow/Room.vue @@ -469,6 +469,7 @@ export default { }, focusTextarea(disableMobileFocus) { if (detectMobile() && disableMobileFocus) return + if (!this.$refs['roomTextarea']) return this.$refs['roomTextarea'].focus() }, isMessageEmpty() {