Skip to content

fix(web): keep mention suggestions visible across writing surfaces - #216

Merged
itscheems merged 1 commit into
mainfrom
codex/mention-popup-consistency
Nov 7, 2026
Merged

itscheems merged 1 commit into
mainfrom
codex/mention-popup-consistency

Conversation

@itscheems

Copy link
Copy Markdown
Owner

Mention completion menus now share a portaled popover and textarea caret measurement, keeping the existing card presentation while escaping clipped form and modal containers. Viewport collision handling keeps the menu usable in narrow and short layouts, and keyboard navigation keeps the selected option visible.

Field focus, pointer insertion, composition keys, blur dismissal, and Escape behavior are preserved across the shared writing controls. An open suggestion list handles Escape before its writing dialog closes. The superseded custom placement helper and its calculation-only tests are removed in favor of shared positioning and real-browser verification.

Validation:

  • 180 tests across seven affected files passed, including eight completion interaction regressions.
  • Web build/type checking, lint, and formatting passed.
  • Browser checks covered pointer and keyboard insertion, modal ownership, focus retention, dismissal, and responsive placement.

Persistence and API contracts are unchanged.

Closes #215

@itscheems itscheems added kind/bug Bug fixes moment Moment project codex Created by Codex labels Nov 7, 2026
@itscheems itscheems self-assigned this Nov 7, 2026
@itscheems
itscheems merged commit 5ee4ce4 into main Nov 7, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Created by Codex kind/bug Bug fixes moment Moment project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(web): keep mention suggestions accessible in writing forms

1 participant