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.
This commit is contained in:
Peter Steinberger
2026-07-03 23:39:32 -07:00
committed by GitHub
parent cafbd745c1
commit a07b4bed79
+4 -1
View File
@@ -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) {