Skip to content

fix(core): handle keyboard shortcuts in popup windows#440

Merged
antfu merged 1 commit into
vitejs:mainfrom
SaKaNa-Y:fix/shortcuts-popup-window-keydown
Jul 21, 2026
Merged

fix(core): handle keyboard shortcuts in popup windows#440
antfu merged 1 commit into
vitejs:mainfrom
SaKaNa-Y:fix/shortcuts-popup-window-keydown

Conversation

@SaKaNa-Y

Copy link
Copy Markdown
Collaborator

Description

Fixed an issue where keyboard shortcut listeners were attached to the host page's window instead of the popup window in popup mode, causing shortcuts to only work after clicking back on the host page.

Linked Issues

Additional context

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools@440

@vitejs/devtools-kit

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-kit@440

@vitejs/devtools-oxc

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-oxc@440

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-rolldown@440

@vitejs/devtools-vite

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-vite@440

@vitejs/devtools-vitest

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-vitest@440

commit: cafcaba

@antfu
antfu merged commit 0c5186c into vitejs:main Jul 21, 2026
7 checks passed
@SaKaNa-Y
SaKaNa-Y deleted the fix/shortcuts-popup-window-keydown branch July 21, 2026 06:05
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.

2 participants