Skip to content

Commit

Permalink
Auto focus on input when the chat page is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Jul 19, 2024
1 parent dae88c6 commit ef93458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/client/components/ChatForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export default function ChatForm({ handleFormSubmit, currentChatDetails, trigger
</label>
<div className='relative bottom-0 left-0 right-0 flex items-center justify-between m-1'>
<TextareaAutosize
autoFocus
minRows={1}
maxRows={4}
style={{
Expand Down

0 comments on commit ef93458

Please sign in to comment.