mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
web: fix sub menus position
This commit is contained in:
@@ -145,7 +145,7 @@ function Menu({ items, data, title, closeMenu }) {
|
||||
}
|
||||
|
||||
const { top, left } = getPosition(subMenuRef.current, {
|
||||
yOffset: document.getElementById(item.key).offsetHeight,
|
||||
yOffset: 0,
|
||||
relativeTo: document.getElementById(item.key),
|
||||
location: "right"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user