openclaw/apps
Marc Beaupre b51b24955c fix(chat): clear input immediately after send to prevent duplicate messages
Two issues were causing the input field to retain text after sending:

1. ChatComposer's NSViewRepresentable was skipping all updates while the
   text view was first responder. Now it allows clearing (empty binding)
   even during editing, only skipping other updates to avoid cursor jumps.

2. ChatViewModel cleared input after awaiting the network response, leaving
   text visible during the round trip. Now clears immediately after capturing
   the message content, before the async send.

Together these prevent users from accidentally re-sending messages when
the input appeared unchanged after pressing Enter.
2026-01-01 17:42:05 +01:00
..
android fix(android): wrong text color in user chat bubbles 2025-12-31 12:48:59 +01:00
ios fix: avoid duplicate gateway reconnecting pill 2025-12-30 14:37:59 +01:00
macos fix(macos): prioritize main bundle for device resources to prevent crash 2026-01-01 17:39:33 +01:00
shared/ClawdisKit fix(chat): clear input immediately after send to prevent duplicate messages 2026-01-01 17:42:05 +01:00