From 2440e28168b9c1875dba369c969211bb4ed9a11e Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Fri, 20 Jun 2025 14:48:45 +0500 Subject: [PATCH] mobile: fix android toolbar hidden behind keyboard on android 15 --- packages/editor-mobile/src/components/tiptap.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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"