Unable to submit message with only an image using Enter key #4059

Closed
opened 2025-11-11 15:45:20 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bannert1337 on GitHub (Feb 22, 2025).

Originally assigned to: @tjbck on GitHub.

Description

Users are unable to submit a message containing only an image by pressing the Enter key. This issue affects the user experience, as an alternative submission method must be explicitly utilized.

Steps to Reproduce

  1. Compose a new message in the chat input field.
  2. Upload an image without adding any accompanying text.
  3. Attempt to submit the message by pressing the Enter key.

Expected Behavior

The message should be submitted successfully with only the attached image when the Enter key is pressed.

Actual Behavior

Pressing the Enter key does nothing, and the message is not submitted.

Environment

  • Open WebUI Version: 0.5.16
  • Browser: Zen Browser v1.7.6b (Firefox 135.0) (64-bit)

Additional Context

This issue seems to occur only when the message is entirely composed of an image without any text. If text is added alongside the image, the Enter key works as expected.

Originally created by @bannert1337 on GitHub (Feb 22, 2025). Originally assigned to: @tjbck on GitHub. ### Description Users are unable to submit a message containing only an image by pressing the Enter key. This issue affects the user experience, as an alternative submission method must be explicitly utilized. ### Steps to Reproduce 1. Compose a new message in the chat input field. 2. Upload an image without adding any accompanying text. 3. Attempt to submit the message by pressing the Enter key. ### Expected Behavior The message should be submitted successfully with only the attached image when the Enter key is pressed. ### Actual Behavior Pressing the Enter key does nothing, and the message is not submitted. ### Environment - **Open WebUI Version:** 0.5.16 - **Browser:** Zen Browser v1.7.6b (Firefox 135.0) (64-bit) ### Additional Context This issue seems to occur only when the message is entirely composed of an image without any text. If text is added alongside the image, the Enter key works as expected.
Author
Owner

@tjbck commented on GitHub (Feb 25, 2025):

Addressed with 5d3249848d

@tjbck commented on GitHub (Feb 25, 2025): Addressed with 5d3249848ddad7ad2174acb00cc7a083517f1c28
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4059