Forgotten 3a7afe7b66 fix: @-mention autocomplete selection and dismissal
- Use a ref for mentionState so selectMention always reads the latest
  value (prevents stale-closure "blink" on click/Enter/Tab)
- Add explicit space key handling to dismiss the popup immediately
- Move Escape handler outside filteredMentions check so it always works
- Sync mentionStateRef on all state transitions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 14:59:20 -06:00
2026-02-19 09:09:10 -06:00
Description
Paperclip AI platform
MIT 11 MiB
Languages
TypeScript 96.8%
Shell 1.7%
JavaScript 1%
CSS 0.3%
HTML 0.2%