Last 12 weeks · 12 commits
2 of 6 standards met
Description When using browser extension DevTools (Chrome/Firefox), Electron or the standalone app together with , starting the component inspector from the devtools UI also toggles the Vite overlay panel on the page, so the two inspectors interfere with each other (see #1004). The client's component inspect handlers unconditionally emit the RPC. That RPC exists to minimize the overlay while inspecting (), which is only meaningful when the devtools itself is embedded in the page (iframe inside the Vite overlay). This PR guards both emits with , so: Embedded (Vite overlay iframe): emits are kept — panel still minimizes during inspection Extension panels (Chrome/Firefox), Electron, standalone: emits are skipped — no more unexpected overlay toggling on any platform fixes #1004 Validation [x] (13/13 turbo tasks) [x] [x] [x] (85/85) [x] Manually verified in Chrome: inspecting from the extension panel no longer opens the Vite overlay
Problem Description When developing a frontend project with both Chrome Vue DevTools and vite-plugin-vue-devtools installed, selecting a component using Chrome Vue DevTools’ “Select component in the page” or inspecting a component triggers the following issues: vite-plugin-vue-devtools automatically opens its Inspector panel, causing interference. It is not possible to fully disable or prevent the in-page Inspector overlay from vite-plugin-vue-devtools. The overlay negatively affects the page interaction experience. Expected Behavior When used together with Chrome Vue DevTools, each Inspector should operate independently without triggering the other. Provide configuration options to completely disable the in-page Inspector overlay from vite-plugin-vue-devtools. Additional Notes The overlay UI displayed on top of the page significantly affects interactions. When testing mobile layouts, this popup may take up a large portion of the screen, and closing the devtools panel might also close the popup unintentionally. https://github.com/user-attachments/assets/e53d9403-ce43-4f49-8d90-efb3667e84e7
Repository: vuejs/devtools. Description: ⚙️ Devtools for debugging Vue.js applications. Stars: 2894, Forks: 270. Primary language: TypeScript. Languages: TypeScript (76%), Vue (22.1%), HTML (1%), CSS (0.6%), JavaScript (0.2%). License: MIT. Homepage: https://devtools.vuejs.org/ Latest release: v8.2.1 (1mo ago). Open PRs: 48, open issues: 186. Last activity: 1w ago. Community health: 37%. Top contributors: webfansplz, alexzhang1030, renovate[bot], skirtles-code, Azurewarth0920, LoTwT, JianJroh, xuzuodong, btea, yyx990803 and others.