We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c88e0de commit aaf38a1Copy full SHA for aaf38a1
1 file changed
public/components/navigation/navigation.js
@@ -32,8 +32,9 @@ export class ViewNavigation {
32
document.addEventListener("keydown", (event) => {
33
const isWikiOpen = document.getElementById("documentation-root-element").classList.contains("slide-in");
34
const isTargetPopup = event.target.id === "popup--background";
35
+ const isPopupOpened = document.querySelector("#popup--background.show");
36
const isTargetInput = event.target.tagName === "INPUT";
- if (isTargetPopup || isWikiOpen || isTargetInput) {
37
+ if (isTargetPopup || isWikiOpen || isTargetInput || isPopupOpened) {
38
return;
39
}
40
0 commit comments