From a07b4bed79d973e34daa3e41ce885b46b003d63a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 3 Jul 2026 23:39:32 -0700 Subject: [PATCH] fix: stop rubber-band bounce of the Control UI shell in the Mac app web view (#99830) The Control UI is an app shell: inner panes scroll, the root never should. macOS WKWebView (Mac app dashboard window) and desktop Safari still rubber-band the root scroller, so the whole UI bounced up and down whenever content fit the viewport. Apply overscroll-behavior: none to html/body globally instead of only in standalone PWA mode, and drop the now-redundant standalone-mode declaration. --- ui/src/styles/base.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/styles/base.css b/ui/src/styles/base.css index 3251e476506f..7a05638abf36 100644 --- a/ui/src/styles/base.css +++ b/ui/src/styles/base.css @@ -499,6 +499,10 @@ html, body { height: 100%; + /* App shell: inner panes scroll, the root never should. Without this the + macOS WKWebView (Mac app) and Safari rubber-band the whole window, even + when nothing overflows. */ + overscroll-behavior: none; } body { @@ -563,7 +567,6 @@ openclaw-app { width: 100%; height: 100%; overflow: hidden; - overscroll-behavior: none; } @supports (height: 100dvh) {