Frontend: EditorKeyboard crash on document.activeElement = null #116
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in
04ce096.EditorKeyboardnow does(document.activeElement && document.activeElement.tagName) || ''so iframe focus, popovers, and devtools-driven focus loss no longer crash the handler.zgaetano referenced this issue2026-05-26 18:22:49 -04:00
Fix Plan — #116 EditorKeyboard crash on document.activeElement = null
Root cause:
screens-editor.jsx:711readsdocument.activeElement.tagNamewithout null guard.document.activeElementis null in iframes after focus loss → TypeError nukes editor keyboard input.Fix — one line:
Files:
screens-editor.jsx:711Effort: 5min
**Priority: P1 — crash fix