Input field persists across chats after submitting snippets during attachment upload

When using Raycast snippets/templates that are automatically converted into attachments (due to length), hitting "Enter" immediately after the keyword trigger causes the input field to malfunction. The text is not cleared after sending and persists across new chat sessions.

Steps to Reproduce

  1. Type some text as a message in a new chat form

  2. Paste a larger amount of text that results in an attachment

  3. Press Enter immediately to submit the prompt before the attachment is uploaded

  4. You will see a toast at the bottom right, “Waiting for upload …”

Actual Results

  • The message (including the attachment) is submitted correctly together.

  • UI State Bug: The message remains visible in the input field.

  • Session Persistence: The "stuck" message appears in all new chats prefilled.

  • If you manually delete the stuck message and send a new, different message, the original stuck text reappears in the input field immediately after the new message is sent.

Expected Results

  • The input field should be completely cleared immediately after hitting Enter.

  • New chats should always start with a blank input field.

  • Manual deletion of text should be permanent.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Bug Reports

Subscribe to post

Get notified by email when there are changes.