diff --git a/apps/ui/src/styles/global.css b/apps/ui/src/styles/global.css index 3b003624..6775d2b9 100644 --- a/apps/ui/src/styles/global.css +++ b/apps/ui/src/styles/global.css @@ -389,13 +389,20 @@ body { overflow: hidden; overscroll-behavior: none; - -webkit-overflow-scrolling: touch; - position: fixed; width: 100%; height: 100%; height: 100dvh; } + /* iOS Safari: position:fixed on body prevents pull-to-refresh and overscroll bounce. + Scoped to touch devices only to avoid breaking desktop browser behaviours. */ + `@media` (hover: none) and (pointer: coarse) { + html, + body { + position: fixed; + } + } + #app { height: 100%; height: 100dvh;