fix: tags menu not opening
This commit is contained in:
@@ -31,8 +31,8 @@ const NotesContextMenu = observer(({ appState }: Props) => {
|
||||
return appState.notes.contextMenuOpen ? (
|
||||
<div
|
||||
ref={contextMenuRef}
|
||||
className="sn-dropdown max-w-80 flex flex-col py-2 overflow-y-scroll absolute"
|
||||
style={{ ...appState.notes.contextMenuPosition, maxHeight: appState.notes.contextMenuMaxHeight }}
|
||||
className="sn-dropdown max-w-80 flex flex-col py-2 absolute"
|
||||
style={{ ...appState.notes.contextMenuPosition }}
|
||||
>
|
||||
<NotesOptions
|
||||
appState={appState}
|
||||
|
||||
@@ -161,7 +161,7 @@ export const NotesOptions = observer(
|
||||
...tagsMenuPosition,
|
||||
maxHeight: tagsMenuMaxHeight,
|
||||
}}
|
||||
className="sn-dropdown sn-dropdown-anchor-right flex flex-col py-2 max-h-80 overflow-y-scroll"
|
||||
className="sn-dropdown sn-dropdown-anchor-right flex flex-col py-2 max-h-80 absolute overflow-y-scroll"
|
||||
>
|
||||
{appState.tags.tags.map((tag) => (
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user