From e6c968e37ed280416c5b122d4baa7dd65d800441 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Tue, 21 Apr 2026 00:50:44 +0200 Subject: [PATCH] fix: satisfy note list keyboard build --- src/hooks/useNoteListKeyboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useNoteListKeyboard.ts b/src/hooks/useNoteListKeyboard.ts index d6fab755..c8c090c2 100644 --- a/src/hooks/useNoteListKeyboard.ts +++ b/src/hooks/useNoteListKeyboard.ts @@ -444,7 +444,7 @@ function useGlobalKeyboardHandling({ }) { const shouldSkipGlobalKeyDown = useCallback((activeElement: Element | null) => { if (isEditableElement(activeElement)) return true - return ( + return Boolean( activeElement !== containerRef.current && containerRef.current?.contains(activeElement) && isInteractiveElement(activeElement)