fix: add close on blur to overflow menu dropdown

This commit is contained in:
Antonella Sgarlatta
2021-06-14 13:39:50 -03:00
parent bfef98f6b8
commit 49788c436c

View File

@@ -72,6 +72,7 @@ export const NotesOptionsPanel = observer(({ appState }: Props) => {
maxHeight,
}}
className="sn-dropdown sn-dropdown--animated min-w-80 max-h-120 max-w-xs flex flex-col py-2 overflow-y-auto fixed"
onBlur={closeOnBlur}
>
{open && (
<NotesOptions