Skip to content

fix(hub-ui): prevent edge dock panel from scrolling its toolbar out of view - #220

Merged
antfu merged 2 commits into
mainfrom
small-moments-refuse
Aug 14, 2026
Merged

fix(hub-ui): prevent edge dock panel from scrolling its toolbar out of view#220
antfu merged 2 commits into
mainfrom
small-moments-refuse

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Description

Ports vitejs/devtools#522 by @SaKaNa-Y ("fix(core): prevent edge dock panel from scrolling its toolbar out of view"), adapted for packages/hub-ui/src/client/components/dock/DockEdge.vue — the equivalent of packages/core/src/client/webcomponents/components/dock/DockEdge.vue after the v0.9 migration.

Fixes #208.

Swaps overflow-hidden for overflow-clip on the edge dock panel and its content region, isolating the toolbar from the scrollable content area so opening a large view (e.g. the Vite/Rolldown Modules Graph) no longer scrolls the toolbar out of view. Also regenerated the shadow-root stylesheet (packages/hub-ui/src/client/.generated/css.ts) via pnpm run build:css to pick up the new class.

Credit to @SaKaNa-Y for the original fix.

Closes #208.

@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 68a6f02
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a7eaeb123271200084fc35d
😎 Deploy Preview https://deploy-preview-220--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

…f view

Ports vitejs/devtools#522 by @SaKaNa-Y, adapted for the DockEdge.vue
that landed here in the v0.9 migration. Swaps overflow-hidden for
overflow-clip on the edge dock panel and its content region so the
toolbar can no longer be scrolled out of view when opening a large
view like the Vite/Rolldown Modules Graph.

Co-authored-by: SaKaNa-Y <185575200+SaKaNa-Y@users.noreply.github.com>
@antfubot
antfubot force-pushed the small-moments-refuse branch from 54f375c to 108c816 Compare August 14, 2026 05:53
@antfu
antfu merged commit e6a2cab into main Aug 14, 2026
12 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.

Port fix from vitejs/devtools#522: prevent edge dock panel from scrolling its toolbar out of view

2 participants