add: autofocus on input textarea
This commit is contained in:
@@ -812,6 +812,7 @@ export default function ChatBOX(props: {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<textarea
|
<textarea
|
||||||
|
autofocus
|
||||||
value={inputMsg}
|
value={inputMsg}
|
||||||
ref={userInputRef}
|
ref={userInputRef}
|
||||||
onChange={(event: any) => {
|
onChange={(event: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user