diff --git a/ios/App/MyCustomViewController.swift b/ios/App/MyCustomViewController.swift index 6014dbd..b6f4204 100644 --- a/ios/App/MyCustomViewController.swift +++ b/ios/App/MyCustomViewController.swift @@ -13,6 +13,7 @@ class MyCustomViewController: CAPBridgeViewController { super.viewDidLoad() webView!.allowsBackForwardNavigationGestures = true webView!.scrollView.bounces = false + webView!.scrollView.alwaysBounceVertical = false webView!.scrollView.showsVerticalScrollIndicator = false } } diff --git a/src/root.css b/src/root.css index 7c1d0aa..1360829 100644 --- a/src/root.css +++ b/src/root.css @@ -4,18 +4,12 @@ body { @apply text-white; - @apply min-h-[100dvh] overflow-y-scroll safe-top safe-bottom disable-scrollbars; + @apply min-h-[100dvh] overflow-y-scroll overscroll-none safe-top safe-bottom disable-scrollbars; } html { - @apply h-[100dvh]; + @apply h-[100dvh] overscroll-none; @apply bg-neutral-900; - --ion-safe-area-top: env(safe-area-inset-top); - overscroll-behavior-y: none; -} - -@media (prefers-color-scheme: light) { - /* we don't support this but I want the browser to know I care */ } @media (prefers-color-scheme: light) {