open-design/apps
xxiaoxiong 79554198ec fix: clear stale mention state when @ button insertion is invalid
When the @ button is clicked at a position where the regex does not
match (e.g., immediately after a word or on a second click after the
button just inserted @), the handler now explicitly clears any existing
mention state instead of leaving it intact.

This prevents the popover from remaining bound to a previous cursor
position, which would cause picking a file to replace the old mention
location and leave the newly inserted @ behind.

Mirrors the handleChange behavior which already clears mention when
the regex stops matching.
2026-05-28 22:07:18 +08:00
..
daemon fix(daemon): typecheck leaf modules (#943) 2026-05-08 20:01:25 +08:00
desktop Fix desktop preview and packaged app interactions (#879) 2026-05-08 14:26:10 +08:00
landing-page release: Open Design 0.5.0 (#820) 2026-05-08 00:41:01 +08:00
packaged add support for VP_HOME environment variable in agent resolution (#859) 2026-05-08 15:14:37 +08:00
web fix: clear stale mention state when @ button insertion is invalid 2026-05-28 22:07:18 +08:00
AGENTS.md test(e2e): gate beta packaged runtime (#637) 2026-05-06 17:44:29 +08:00