mirror of
https://github.com/paperclipai/paperclip
synced 2026-03-25 11:21:48 +00:00
3a7afe7b66e9eb29953fcfcfc7e41dee8c88d143
- 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>
Description
Languages
TypeScript
97%
Shell
1.6%
JavaScript
0.9%
CSS
0.3%
HTML
0.2%