Skip to content

Fix composer @mention overlay alignment + no-auto-space + code-block backtick hiding - #41

Merged
Aztec03hub merged 1 commit into
mainfrom
fix-composer-mention-overlay
Jun 25, 2026
Merged

Fix composer @mention overlay alignment + no-auto-space + code-block backtick hiding#41
Aztec03hub merged 1 commit into
mainfrom
fix-composer-mention-overlay

Conversation

@Aztec03hub

Copy link
Copy Markdown
Owner

Comprehensive composer fix for the @mention/overlay bugs Phil reported.

Root cause: the colored .input-overlay was drifting out of alignment with the underlying <textarea>, and the mention-commit path was injecting an unwanted space.

Fixes:

  • Doubling-on-select → transparent ::selection on the overlay
  • Horizontal drift → hidden textarea scrollbar (scrollbar-gutter)
  • Accumulating vertical drift / raised caret / vertically-offset spellcheck squigglies → explicit line-height: 21px on both layers + exact overlay-template whitespace
  • NO auto-space after @mention tab-completion (reverted per Phil) — caret lands immediately after the mention; regression test added
  • Code backticks/fences hidden once a span/block completes (inline + block); regression test added

vitest 1214 passing; build clean. Needs a desktop redeploy.

🤖 Generated with Claude Code

@Aztec03hub
Aztec03hub merged commit a784807 into main Jun 25, 2026
8 checks passed
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