mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 14:24:26 +01:00
ios overscroll fixed
This commit is contained in:
committed by
Tony Giorgio
parent
0b2e3bdad3
commit
cb32bec78c
@@ -13,6 +13,7 @@ class MyCustomViewController: CAPBridgeViewController {
|
||||
super.viewDidLoad()
|
||||
webView!.allowsBackForwardNavigationGestures = true
|
||||
webView!.scrollView.bounces = false
|
||||
webView!.scrollView.alwaysBounceVertical = false
|
||||
webView!.scrollView.showsVerticalScrollIndicator = false
|
||||
}
|
||||
}
|
||||
|
||||
10
src/root.css
10
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) {
|
||||
|
||||
Reference in New Issue
Block a user