"use client"; /** * MentionTextarea — a textarea with inline "@" mention autocomplete. * * As the user types an `@token` at the caret, a suggestion list opens above * the field (prioritised following → followers → others). Picking a user (tap * or ↑/↓ + Enter/Tab) replaces the token with `@handle `. The list is portaled * with `pointer-events-auto` so it works inside a modal vaul drawer, and * dismisses on blur — no document listener that could fight the drawer. * * Enter (without Shift) submits via `onSubmit` ONLY when no suggestion list is * open; while the list is open, Enter/Tab pick the highlighted user. The * underlying