diff --git a/apps/mobile/app/(app)/(spaces)/page/[pageId]/index.tsx b/apps/mobile/app/(app)/(spaces)/page/[pageId]/index.tsx
index f30143f0..16c205b6 100644
--- a/apps/mobile/app/(app)/(spaces)/page/[pageId]/index.tsx
+++ b/apps/mobile/app/(app)/(spaces)/page/[pageId]/index.tsx
@@ -3,8 +3,6 @@ import { useCallback, useEffect, useState } from 'react';
import {
AppState,
AppStateStatus,
- KeyboardAvoidingView,
- Platform,
Pressable,
StyleSheet,
Text,
@@ -143,10 +141,7 @@ export default function PageScreen() {
)}
-
+
-
+
{page && (
50) {
+ sc.scrollTop = s;
+ }
+ });
+ });
+ }, true);
+ });
true;
`}
style={[
@@ -346,9 +365,8 @@ export const PageWebView = ({
]}
javaScriptEnabled
domStorageEnabled
- scrollEnabled
+ scrollEnabled={false}
bounces={false}
- keyboardDisplayRequiresUserAction={false}
hideKeyboardAccessoryView
automaticallyAdjustContentInsets={false}
contentMode="mobile"
diff --git a/apps/mobile/webviews/editor/editor.html b/apps/mobile/webviews/editor/editor.html
index 9d1bdc3b..6c5f1f84 100644
--- a/apps/mobile/webviews/editor/editor.html
+++ b/apps/mobile/webviews/editor/editor.html
@@ -56,16 +56,24 @@
html, body {
margin: 0;
padding: 0;
+ height: 100%;
+ overflow: hidden;
background-color: var(--background);
color: var(--foreground);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
-webkit-text-size-adjust: 100%;
+ }
+ #scroll-container {
+ height: 100%;
+ overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
-
+