mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
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:
committed by
GitHub
parent
cafbd745c1
commit
a07b4bed79
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user