Skip to content

Commit

Permalink
Remove onFocus so modal closing keeps dropdown closed
Browse files Browse the repository at this point in the history
  • Loading branch information
samau3 committed Oct 25, 2024
1 parent 38a12a0 commit 81a100b
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ export default function SearchDatabaseInputField({
<Combobox.EventsTarget>
<TextInput
label={label}
onFocus={() => {
combobox.openDropdown();
if (data === null) {
fetchOptions(searchQuery);
}
}}
onClick={() => {
combobox.openDropdown();
if (data === null) {
Expand Down

0 comments on commit 81a100b

Please sign in to comment.