Skip to content

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

mobile: fix android toolbar hidden behind keyboard on android 15

Ammar Ahmed2440e28168b9
diff --git a/packages/editor-mobile/src/components/tiptap.tsx b/packages/editor-mobile/src/components/tiptap.tsx
index ed5b02bfa..ccc34074d 100644
--- a/packages/editor-mobile/src/components/tiptap.tsx
+++ b/packages/editor-mobile/src/components/tiptap.tsx
@@ -44,10 +44,12 @@ export default function TiptapEditorWrapper(props: {
display: props.settings.noToolbar ? "none" : "flex",
overflowY: "hidden",
minHeight: "50px",
- position: "absolute",
- bottom: 0,
- left: 0,
- right: 0
+ ...(globalThis.__PLATFORM__ === "ios" && {
+ position: "absolute",
+ bottom: 0,
+ left: 0,
+ right: 0
+ })
}}
editor={editor}
location="bottom"