Skip to content

Commit 7c72620

Browse files
committed
(fix) focus textarea after removing file
1 parent aa5f8a6 commit 7c72620

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ChatWindow/Room/Room.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,8 @@ export default {
653653
if (editFile) {
654654
this.file = null
655655
this.message = ''
656+
this.preventKeyboardFromClosing()
657+
setTimeout(() => this.focusTextarea(disableMobileFocus), 0)
656658
return
657659
}
658660

0 commit comments

Comments
 (0)