You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser search opens, instead of the website search
Suggestion: Add an alt modifier to avoid the conflict. This is a frequent paradigm for browser-based keyboard shortcuts (for example, Google Docs uses ctrl+alt+num for toggling header styles to avoid conflicting with the browser shortcut for switching tabs (ctrl+num).
The text was updated successfully, but these errors were encountered:
Hey Spencer, I am using Docusaurus as a skeleton for the site, and they use DocSearch out of the box.
There is a thread of people discussing if they should use Ctrl+K as a hot key or not, I think it is good to let them know about the potential shortcut conflicts, esp. on Windows. facebook/docusaurus#2815 (comment)
The search (
ctrl+K
) keyboard shortcut conflicts with some browser defaults, such as Chrome's search google shortcut.Repro:
Suggestion: Add an
alt
modifier to avoid the conflict. This is a frequent paradigm for browser-based keyboard shortcuts (for example, Google Docs usesctrl+alt+num
for toggling header styles to avoid conflicting with the browser shortcut for switching tabs (ctrl+num
).The text was updated successfully, but these errors were encountered: