add: autofocus on input textarea

This commit is contained in:
2024-01-17 09:48:22 +08:00
parent a4d3091e06
commit e3162cac0d

View File

@@ -812,6 +812,7 @@ export default function ChatBOX(props: {
/>
)}
<textarea
autofocus
value={inputMsg}
ref={userInputRef}
onChange={(event: any) => {