Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix position of context menu

Ammar Ahmedaa602ea8e970
diff --git a/packages/editor-mobile/src/components/header.tsx b/packages/editor-mobile/src/components/header.tsx
index 23c68937b..87cdaffa7 100644
--- a/packages/editor-mobile/src/components/header.tsx
+++ b/packages/editor-mobile/src/components/header.tsx
@@ -331,7 +331,10 @@ function Header({
<ControlledMenu
align="end"
- anchorRef={btnRef}
+ anchorPoint={{
+ x: window.innerWidth - 10,
+ y: 70
+ }}
state={isOpen ? "open" : "closed"}
menuClassName={menuClassName}
onClose={() => {