fix: add close on blur to search options dropdown
This commit is contained in:
@@ -64,6 +64,7 @@ const SearchOptions = observer(({ appState }: Props) => {
|
|||||||
top: optionsPanelTop,
|
top: optionsPanelTop,
|
||||||
}}
|
}}
|
||||||
className="sn-dropdown sn-dropdown--anchor-right sn-dropdown--animated min-w-80 absolute grid gap-2 py-2"
|
className="sn-dropdown sn-dropdown--anchor-right sn-dropdown--animated min-w-80 absolute grid gap-2 py-2"
|
||||||
|
onBlur={closeOnBlur}
|
||||||
>
|
>
|
||||||
<Switch
|
<Switch
|
||||||
className="h-10"
|
className="h-10"
|
||||||
|
|||||||
Reference in New Issue
Block a user