aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/Chat/Chat.jsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/web/src/components/Chat/Chat.jsx b/src/web/src/components/Chat/Chat.jsx
index 9e3605b8..0a080466 100644
--- a/src/web/src/components/Chat/Chat.jsx
+++ b/src/web/src/components/Chat/Chat.jsx
@@ -170,6 +170,12 @@ class Chat extends Component {
} catch {
// no-op
}
+
+ try {
+ this.messageRef.current.focus();
+ } catch {
+ // no-op
+ }
},
);
},