Skip to content

fix(assistant): use native keydown for escape blur#1366

Merged
larbish merged 1 commit into
mainfrom
fix/assistant-escape-keydown
May 13, 2026
Merged

fix(assistant): use native keydown for escape blur#1366
larbish merged 1 commit into
mainfrom
fix/assistant-escape-keydown

Conversation

@benjamincanac
Copy link
Copy Markdown
Collaborator

@benjamincanac benjamincanac commented May 11, 2026

  • The defineShortcuts escape handler with usingInput: true was catching escape globally, which broke closing the search panel with escape.
  • Replaced with a native @keydown.escape listener on the input so it only fires when the floating input is actually focused.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docus Ready Ready Preview May 11, 2026 9:44am

@benjamincanac benjamincanac requested a review from HugoRCD May 11, 2026 09:42
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 11, 2026

Open in StackBlitz

npm i https://pkg.pr.new/create-docus@1366
npm i https://pkg.pr.new/docus@1366

commit: 5dda19b

@larbish larbish merged commit 7c2e85d into main May 13, 2026
4 checks passed
@larbish larbish deleted the fix/assistant-escape-keydown branch May 13, 2026 10:16
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