Skip to content

Commit cc23222

Browse files
kartbenMaureenHelm
authored andcommitted
doc: fix issue with keydown/keyup being ignored
Ensure initial search menu visibility is properly set so that key events don't get trapped preventing arrow key navigation on the document. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit b3776ca)
1 parent d5a127a commit cc23222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/_templates/searchbox.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
.getElementById("search-se-settings-icon")
5858
.setAttribute("aria-expanded", visible ? "true" : "false");
5959
};
60+
setSearchEngineSettingsMenuVisibility(false);
6061

6162
window.toggleSearchEngineSettingsMenu = function () {
6263
isVisible = searchMenu.style.display === "block";

0 commit comments

Comments
 (0)