Closed
Description
Describe the bug
I frequently take screenshots, which on macOS is done using cmd+shift+3/4
. When I do that, the inspector shows up and photobombs my screenshot, then it stays active afterwards.
It's a bit disorienting to me because after pressing cmd+shift+4
I now need to remember to do a separate shortcut to hide the inspector (I found myself trying Escape
a lot).
Screen.Recording.2022-12-16.at.06.06.01.converted.mp4
Reproduction URL
Not applicable here imo
Reproduction
npm create svelte
- Enable
inspector
insvelte.config.js
:
vitePlugin: {
experimental: {
inspector: true,
},
},
npm i && npm run dev
- Take a screenshot using
cmd+shift+4
Logs
No response
System Info
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Memory: 1.23 GB / 32.00 GB
Shell: 3.5.1 - /usr/local/bin/fish
Binaries:
Yarn: 3.3.0 - ~/Library/Application Support/Volta/tools/image/yarn/3.3.0/bin/yarn
npm: 8.19.2 - ~/Library/Application Support/Volta/tools/image/node/18.12.1/bin/npm
Browsers:
Brave Browser: 108.1.46.134
Chrome: 108.0.5359.124
Firefox: 107.0
Firefox Developer Edition: 108.0
Safari: 15.6.1
npmPackages:
@sveltejs/adapter-auto: ^1.0.0 => 1.0.0
@sveltejs/kit: ^1.0.0 => 1.0.0
svelte: ^3.54.0 => 3.55.0
vite: ^4.0.0 => 4.0.1