mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
ui: fix menu going under the listitem
This commit is contained in:
@@ -19,13 +19,13 @@ function Menu(props) {
|
||||
<Flex
|
||||
key={item.title}
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
if (props.dropdownRef) {
|
||||
props.dropdownRef.hide();
|
||||
}
|
||||
if (item.onClick) {
|
||||
item.onClick(props.data);
|
||||
}
|
||||
e.stopPropagation();
|
||||
}}
|
||||
flexDirection="row"
|
||||
alignItems="center"
|
||||
|
||||
Reference in New Issue
Block a user