Skip to content

Panebox 2.2.1 - #4

Merged
viny4 merged 1 commit into
mainfrom
dev
Jul 30, 2026
Merged

Panebox 2.2.1#4
viny4 merged 1 commit into
mainfrom
dev

Conversation

@viny4

@viny4 viny4 commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Fixes wrong service being shown and the resulting slowness: every webview was rendering at once because of an inherited CSS visibility override.

Clicking WhatsApp left Claude on screen while the address bar said
web.whatsapp.com, and the app felt sluggish. Same cause for both.

`.pane webview` declared `visibility: visible`. CSS visibility inherits, and
an explicit `visible` on a child overrides a hidden ancestor — so every
webview un-hid itself inside its hidden pane. All services rendered at once,
stacked absolutely, and you saw whichever painted last. Chromium also never
throttled them, since none were occluded.

Measured before: four panes, four webviews `visible`, all full size.
After: exactly one visible, three hidden, CPU 0% across the board.

Also removes the global `webview { visibility: hidden }` / `webview.active`
rules. They predate the pane wrapper and key off a class nothing sets any
more; with the child rule gone they were hiding the active service too.

Verified through single view, split, spotlight, back to single, and clicking
each service in turn.
@viny4
viny4 merged commit 0f61905 into main Jul 30, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant