From a88ba61758a737384f6d4512e3eb6eaa8b614950 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 28 Feb 2024 22:45:44 +0100 Subject: [PATCH] fix: dont modify tab behavior if a modal is visible --- frontend/src/ts/controllers/input-controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/ts/controllers/input-controller.ts b/frontend/src/ts/controllers/input-controller.ts index 65b5403e15c8..9f063a1a7091 100644 --- a/frontend/src/ts/controllers/input-controller.ts +++ b/frontend/src/ts/controllers/input-controller.ts @@ -848,6 +848,8 @@ function handleTab(event: JQuery.KeyDownEvent, popupVisible: boolean): void { TestLogic.restart({ event }); } else { //quick tab off + // dont do anything special + if (modalVisible) return; //only special handlig on the test page if (ActivePage.get() !== "test") return;