Stop event propogation over hover cards so we dont click on cards when opening the menu

This commit is contained in:
Jackson Harper
2024-03-05 10:53:10 +08:00
parent 553ea5d8a3
commit 4b627d9058

View File

@ -50,6 +50,9 @@ export const LibraryHoverActions = (props: LibraryHoverActionsProps) => {
'0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);',
},
}}
onClick={(event) => {
event.stopPropagation()
}}
>
<Button
title="View notebook (t)"