forked from Mirrors/gomuks
web/roomview: autofocus input box
This commit is contained in:
parent
543c3bcc25
commit
d428a26b0a
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ const RoomView = ({ room }: RoomViewProps) => {
|
|||
<TimelineView room={room} />
|
||||
<form className="message-composer" onSubmit={sendMessage}>
|
||||
<input
|
||||
autoFocus
|
||||
type="text"
|
||||
value={text}
|
||||
onChange={evt => setText(evt.target.value)}
|
||||
|
|
Loading…
Add table
Reference in a new issue