devtools
devtools copied to clipboard
Dock (float mode): hover labels overflow the viewport, making some entries unreachable
Describe the bug
With the dock positioned in edge or float mode, hovering over a dock icon (e.g. the Vite+ icon) expands labels that are positioned without viewport collision detection. The expanded content overflows past the browser window edge, and entries that end up outside the viewport (e.g. Vitest button) become invisible and unclickable.
Environment
@vitejs/devtools: 0.4.3 Vite: 8.1.5
Reproduction
Enable Vite DevTools embedded mode, open the app with the floating panel. Set dock mode to edge (docked to the screen edge). Hover over a dock icon that expands a label/flyout near the viewport edge
System Info
System:
OS: macOS 26.5.2
CPU: (8) arm64 Apple M1
Memory: 143.72 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.14.0 - /Users/vladislav/.vite-plus/js_runtime/node/24.14.0/bin/node
npm: 11.9.0 - /Users/vladislav/.vite-plus/js_runtime/node/24.14.0/bin/npm
bun: 1.3.1 - /Users/vladislav/.bun/bin/bun
Browsers:
Chrome: 150.0.7871.182
Safari: 26.5.2
Used Package Manager
pnpm
Validations
- [x] Follow our Code of Conduct
- [x] Read the Contributing Guide.
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [x] The provided reproduction is a minimal reproducible of the bug.