Skip to content

fix(ui): prevent annotation toolbar from stealing global comment focus#157

Open
blue-poolyum wants to merge 1 commit intobacknotprop:mainfrom
blue-poolyum:codex/fix-global-comment-focus
Open

fix(ui): prevent annotation toolbar from stealing global comment focus#157
blue-poolyum wants to merge 1 commit intobacknotprop:mainfrom
blue-poolyum:codex/fix-global-comment-focus

Conversation

@blue-poolyum
Copy link

Fixes a focus issue in annotate mode.

  • Added an editable-element guard to the toolbar's global keydown handler.
  • The type-to-comment shortcut is now ignored when typing in inputs/textareas/selects/contenteditable/role="textbox".
  • Added IME-safe handling (isComposing) while keeping existing shortcut behavior otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant