Browse Source

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é <benjamin@zephyrproject.org>
pull/77579/head
Benjamin Cabé 11 months ago committed by Anas Nashif
parent
commit
b3776ca97c
  1. 1
      doc/_templates/searchbox.html

1
doc/_templates/searchbox.html vendored

@ -57,6 +57,7 @@ @@ -57,6 +57,7 @@
.getElementById("search-se-settings-icon")
.setAttribute("aria-expanded", visible ? "true" : "false");
};
setSearchEngineSettingsMenuVisibility(false);
window.toggleSearchEngineSettingsMenu = function () {
isVisible = searchMenu.style.display === "block";

Loading…
Cancel
Save