Skip to content

Commit

Permalink
QuickTalk: auto focus on close button when panel opens
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin authored and eatyourgreens committed May 26, 2022
1 parent dd26737 commit 41649bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function QuickTalk ({
/>
<Button
a11yTitle={t('QuickTalk.aria.closeButton')}
autoFocus={true}
icon={<Close size='small' />}
onClick={() => setExpand(false)}
plain
Expand Down

0 comments on commit 41649bf

Please sign in to comment.