We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f548c commit b774b9eCopy full SHA for b774b9e
src/src/util/shortcuts.js
@@ -11,7 +11,7 @@ define(['jquery'], function ($) {
11
require(['src/util/searchBox'], function (searchModule) {
12
searchModule();
13
});
14
- } else if (event.key === ' ') {
+ } else if (event.key === ' ' && event.target === document.body) {
15
// Avoid scrolling the page. The space key can be used by modules.
16
event.preventDefault();
17
}
0 commit comments