isFocusValidForShortcuts MethodProtected

Check if focus allows shortcuts to run — i.e., focus is Home or AccuDraw, or focus is not on an editable element and context menu is not open. Called synchronously in _keyEventHandler to decide whether to call preventDefault(), and in onKeyTransition to gate shortcut processing.

isFocusValidForShortcuts(): boolean

@returns true to allow shortcuts

Returns - boolean

true to allow shortcuts

Defined in

Last Updated: 03 September, 2026