fix: close tags submenu when closing menu

This commit is contained in:
Antonella Sgarlatta
2021-05-05 17:28:02 -03:00
parent 6966f14fcd
commit ecd9dd4324

View File

@@ -67,11 +67,13 @@ export const NotesOptionsPanel = observer(({ appState }: Props) => {
}} }}
className="sn-dropdown sn-dropdown-anchor-right flex flex-col py-2 max-w-265" className="sn-dropdown sn-dropdown-anchor-right flex flex-col py-2 max-w-265"
> >
<NotesOptions {open && (
appState={appState} <NotesOptions
closeOnBlur={closeOnBlur} appState={appState}
setLockCloseOnBlur={setLockCloseOnBlur} closeOnBlur={closeOnBlur}
/> setLockCloseOnBlur={setLockCloseOnBlur}
/>
)}
</DisclosurePanel> </DisclosurePanel>
</Disclosure> </Disclosure>
); );