docsearch
docsearch copied to clipboard
Can the shortcut keys be modified through configuration?
Describe the problem
My website uses Algolia search and it works well. I also use an AI assistant on the website, and I found that when users input '/', it opens the Algolia search box. It seems to be a shortcut key conflict. Is there any way to disable the '/' shortcut key or can I assign it to another shortcut key?
Describe the solution
Provide a configuration that can modify shortcut keys, such as openShortcutKey: '/'
.
Alternatives you've considered
Or, it can control the validity of shortcut keys through coding, and in some cases, it can temporarily disable shortcut keys.