devtools icon indicating copy to clipboard operation
devtools copied to clipboard

scroll doesn't work in popup (PIP) mode

Open arashsheyda opened this issue 8 months ago • 1 comments

Describe the bug

When the devtools is opened in popup mode, content that overflows the viewport, such as the Settings tab cannot be scrolled.

I identified the issue and have a fix. In DockStandalone.vue the content area is a grid item with the default `min-height: auto, which prevents it from shrinking below its content. So when the content is taller than the viewport, the grid item just grows instead of letting it overflow, meaning the inner overflow-auto containers never actually scroll.

Fix: add min-h-0 to the content grid item in DockStandalone.vue so it respects the 100vh grid height and scrolling works

https://github.com/user-attachments/assets/2e67c8b2-17a7-4b87-98d3-e3664329d89d

Reproduction

(video reproduction)

System Info

System:
    OS: macOS 26.3.1
    CPU: (14) arm64 Apple M4 Max
    Memory: 353.56 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.12.0 - /Users/ari.sheydakonghq.com/.nvm/versions/node/v24.12.0/bin/node
    npm: 11.6.2 - /Users/ari.sheydakonghq.com/.nvm/versions/node/v24.12.0/bin/npm
    pnpm: 10.32.1 - /Users/ari.sheydakonghq.com/Library/pnpm/pnpm
  Browsers:
    Chrome: 145.0.7632.160
    Firefox: 148.0.2
    Firefox Developer Edition: 141.0
    Safari: 26.3.1

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.

arashsheyda avatar Mar 16 '26 20:03 arashsheyda

Would you like to send a quick PR for it? Thanks!

antfu avatar Mar 17 '26 01:03 antfu