Skip to content

Commit

Permalink
fix: add close on blur to search options dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonella Sgarlatta committed Jun 14, 2021
1 parent 49788c4 commit 59737f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/components/SearchOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const SearchOptions = observer(({ appState }: Props) => {
top: optionsPanelTop,
}}
className="sn-dropdown sn-dropdown--anchor-right sn-dropdown--animated min-w-80 absolute grid gap-2 py-2"
onBlur={closeOnBlur}
>
<Switch
className="h-10"
Expand Down

0 comments on commit 59737f4

Please sign in to comment.