From c5452a570e8c5a35e7369f085f371392979e9ddd Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 7 Nov 2024 17:22:44 +0100 Subject: [PATCH] web/keybindings: allow using page up/down and home/end in timeline --- web/src/ui/keybindings.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/ui/keybindings.ts b/web/src/ui/keybindings.ts index f599c8e..62c2cb6 100644 --- a/web/src/ui/keybindings.ts +++ b/web/src/ui/keybindings.ts @@ -92,6 +92,8 @@ export default class Keybindings { && this.keyUpMap[keyToString(evt)] === undefined && (!evt.ctrlKey || evt.key === "v" || evt.key === "a") && !evt.altKey + && key !== "PageUp" && key !== "PageDown" + && key !== "Home" && key !== "End" ) { document.getElementById("message-composer")?.focus() }