Skip to content

Commit

Permalink
Fix block chooser search is not focusable when clicked on add button
Browse files Browse the repository at this point in the history
  • Loading branch information
iRohitSingh committed Mar 11, 2024
1 parent 03b30f9 commit 579e68e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/volto/news/5866.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix block chooser search is not focusable when clicked on add button @iRohitSingh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const BlockChooserSearch = ({ onChange, searchValue }) => {
placeholder={intl.formatMessage(messages.search)}
title={intl.formatMessage(messages.search)}
ref={searchInput}
autoFocus
/>
{searchValue && (
<Button
Expand Down

0 comments on commit 579e68e

Please sign in to comment.