Skip to content

Prevent Chrome panel component inspect flow from toggling Vite overlay panel - #1

Closed
SidStraw with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-issue-1004
Closed

Prevent Chrome panel component inspect flow from toggling Vite overlay panel#1
SidStraw with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-issue-1004

Conversation

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown

When Chrome Vue DevTools and vite-plugin-vue-devtools are used together, starting/stopping component inspect from the Chrome panel was also triggering panel visibility toggles in the Vite overlay flow, causing unwanted inspector/popup behavior.

  • Scope

    • Isolate inspect-start/inspect-end panel toggling to non-Chrome hosts.
  • Change

    • Updated packages/client/src/pages/components.vue:
      • Added isInChromePanel guard.
      • onInspectComponentStart / onInspectComponentEnd now emit toggle-panel only when not running inside Chrome DevTools panel.
  • Behavioral impact

    • Chrome extension inspect flow no longer drives Vite overlay panel visibility.
    • Existing iframe/separate-window behavior is preserved.
function onInspectComponentStart() {
  if (!isInChromePanel)
    rpc.value.emit('toggle-panel', false)
}

function onInspectComponentEnd() {
  if (!isInChromePanel)
    rpc.value.emit('toggle-panel', true)
}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/vuejs-devtools/vuejs-devtools/packages/client/node_modules/.bin/../vite/bin/vite.js build (dns block)
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/vuejs-devtools/vuejs-devtools/packages/client/node_modules/.bin/../vite/bin/vite.js build --config vite.lib.config.ts (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: SidStraw <37400982+SidStraw@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix possible issues based on issue 1004 Prevent Chrome panel component inspect flow from toggling Vite overlay panel Feb 13, 2026
Copilot AI requested a review from SidStraw February 13, 2026 02:44
@cpatti97100

Copy link
Copy Markdown

thank you @SidStraw for your work here :) this is really important for me 🙏🏼

@SidStraw

SidStraw commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Thank you for your support and the reminder!
This PR is only a draft intended to be merged into this fork.
I’ve just opened a PR in the upstream repository: vuejs#1126

@SidStraw SidStraw closed this Aug 27, 2026
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.

3 participants