Bug type
Behavior bug (incorrect output/state without crash)
Summary
Clicking Stop in web chat still clears the unsent draft input in current main.
Steps to reproduce
- Open web chat.
- Start a response stream.
- Type a new draft message in the input (do not send).
- Click Stop.
Expected behavior
Stopping generation should preserve the user draft in the input.
Actual behavior
handleAbortChat still clears input in main:
ui/src/ui/app-chat.ts:67 sets host.chatMessage = "" before abort completes.
OpenClaw version
main branch (checked on March 5, 2026)
Operating system
Cross-platform UI behavior (browser-based)
Install method
Source checkout / main branch verification
Logs, screenshots, and evidence
Code evidence on main:
- ui/src/ui/app-chat.ts:67
Related PR with fix: #26604
Previous issue that was closed completed: #22063
Impact and severity
Affected: Web chat users composing follow-up prompts while aborting a run.
Severity: Medium; repeated draft loss harms UX and productivity.
Frequency: High in stop-while-typing flow.
Consequence: User must retype content after stopping generation.
Additional information
This supersedes #22063 (closed as completed on February 26, 2026), but the code path is still present in main on March 5, 2026.
Bug type
Behavior bug (incorrect output/state without crash)
Summary
Clicking Stop in web chat still clears the unsent draft input in current main.
Steps to reproduce
Expected behavior
Stopping generation should preserve the user draft in the input.
Actual behavior
handleAbortChatstill clears input in main:ui/src/ui/app-chat.ts:67setshost.chatMessage = ""before abort completes.OpenClaw version
main branch (checked on March 5, 2026)
Operating system
Cross-platform UI behavior (browser-based)
Install method
Source checkout / main branch verification
Logs, screenshots, and evidence
Impact and severity
Affected: Web chat users composing follow-up prompts while aborting a run.
Severity: Medium; repeated draft loss harms UX and productivity.
Frequency: High in stop-while-typing flow.
Consequence: User must retype content after stopping generation.
Additional information
This supersedes #22063 (closed as completed on February 26, 2026), but the code path is still present in main on March 5, 2026.