Skip to content

Commit

Permalink
fix: focus input on emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyious committed Oct 10, 2024
1 parent 470453c commit ee2bc5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/resusable/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default function ChatInput({

function handleShowEmoji() {
setShowEmoji(!showEmoji);
message.current?.focus();
}

function onEmojiChoose(emoji: string) {
Expand Down

0 comments on commit ee2bc5d

Please sign in to comment.