diff --git a/frontend/src/lib/__tests__/keyboard-guards.test.ts b/frontend/src/lib/__tests__/keyboard-guards.test.ts new file mode 100644 index 00000000..b4a5a30f --- /dev/null +++ b/frontend/src/lib/__tests__/keyboard-guards.test.ts @@ -0,0 +1,87 @@ +/** + * Unit tests for isInputFocused, the shared guard both global hotkey systems + * use to bail when the user is typing in a field. + * + * Regression guard for #1410: Monaco's Chromium EditContext input surface is a + * plain focusable