Skip to content

fix(modal): Fixes modal opening on every key press#2837

Merged
8bittitan merged 1 commit into
mainfrom
fix/modal-reopening
Jan 12, 2026
Merged

fix(modal): Fixes modal opening on every key press#2837
8bittitan merged 1 commit into
mainfrom
fix/modal-reopening

Conversation

@8bittitan
Copy link
Copy Markdown
Contributor

Fixes #2809

Removes the logic of opening the search modal if the search button is the actively focused element on key press.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 12, 2026

Deploy Preview for docsearch-demo failed.

Name Link
🔨 Latest commit 9943cd4
🔍 Latest deploy log https://app.netlify.com/projects/docsearch-demo/deploys/6965294ef091a700082e0eab

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 12, 2026

Deploy Preview for docsearch ready!

Name Link
🔨 Latest commit 9943cd4
🔍 Latest deploy log https://app.netlify.com/projects/docsearch/deploys/6965294e7db6bd0008aeeba3
😎 Deploy Preview https://deploy-preview-2837--docsearch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

@dylantientcheu dylantientcheu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@8bittitan 8bittitan merged commit 7319f54 into main Jan 12, 2026
8 of 11 checks passed
@8bittitan 8bittitan deleted the fix/modal-reopening branch January 12, 2026 17:38
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.

DocSearch v4 modal re-opens on every keystroke after using using cmd+k + 'esc

3 participants