Skip to content

Commit 9d635c3

Browse files
committed
fix: do not autofocus on feedback button
1 parent 8477fe8 commit 9d635c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/frontend/src/pages/AiBuilder/components/ChatMessages/ChatMessageToolbar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ const FeedbackButton = ({ feedbackType, traceId }: FeedbackButtonProps) => {
180180
aria-label="Thumbs down"
181181
icon={<Icon as={icon} />}
182182
onClick={onOpen}
183+
// HACKFIX(kevinkim-ogp): prevent autofocus when new input is sent
184+
tabIndex={-1}
183185
/>
184186
</PopoverTrigger>
185187
<PopoverContent>

0 commit comments

Comments
 (0)