Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Remove the default search dialog if it exists (on CMD + K) #6106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chmod77
Copy link

@chmod77 chmod77 commented Dec 13, 2024

Why are the changes needed?

  • Hitting CMD + K pops up two search dialogs (the docsearch and the default one)

What changes were proposed in this pull request?

This PR adds a script block that gracefully removes the default search dialog from the tree.

How was this patch tested?

  1. Build
  2. Serve
  3. Hit CMD + K

Screenshots

Screenshot 2024-12-13 at 09 49 49

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

@chmod77 chmod77 requested a review from ppiegaze as a code owner December 13, 2024 06:51
@chmod77 chmod77 force-pushed the shalom/fix-cmd-k-double-search-inputs branch from cf64fbf to 152e332 Compare December 13, 2024 06:54
@ppiegaze ppiegaze requested a review from cosmicBboy December 13, 2024 08:41
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.

1 participant