[GH-ISSUE #12984] Enter Key Behavior not respected when width < 768px #71381

Closed
opened 2026-05-13 03:20:19 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @daniporr on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12984

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.6.0

Ollama Version (if applicable)

No response

Operating System

Windows (but likely to be irrelevant)

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Open WebUI should respect your choices regarding the "Enter Key Behavior" independently of your window size

Actual Behavior

When the width is less than 768px, whichever option is selected, neither the Enter key (if "Enter to Send" was chosen) nor the Ctrl+Enter keys (if "Ctrl+Enter to Send" was chosen) will send the message.

Steps to Reproduce

Resize your window to a width of less than 768px.
Attempt to send a message by pressing Enter or Ctrl+Enter, depending on your settings.

Logs & Screenshots

Irrelevant

Additional Information

I needed to check all the checkboxes above to be able to open this issue, but the following are false in this case:

  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
Originally created by @daniporr on GitHub (Apr 17, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12984 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.6.0 ### Ollama Version (if applicable) _No response_ ### Operating System Windows (but likely to be irrelevant) ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [ ] I am using the latest version of **both** Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Open WebUI should respect your choices regarding the "Enter Key Behavior" independently of your window size ### Actual Behavior When the width is less than 768px, whichever option is selected, neither the `Enter` key (if "Enter to Send" was chosen) nor the `Ctrl+Enter` keys (if "Ctrl+Enter to Send" was chosen) will send the message. ### Steps to Reproduce Resize your window to a width of less than 768px. Attempt to send a message by pressing `Enter` or `Ctrl+Enter`, depending on your settings. ### Logs & Screenshots Irrelevant ### Additional Information I needed to check all the checkboxes above to be able to open this issue, but the following are false in this case: - I am using the latest version of both Open WebUI and Ollama. - I have included the browser console logs. - I have included the Docker container logs.
GiteaMirror added the bug label 2026-05-13 03:20:19 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 17, 2025):

Intended behaviour, however PRs will be considered.

<!-- gh-comment-id:2813849820 --> @tjbck commented on GitHub (Apr 17, 2025): Intended behaviour, however PRs will be considered.
Author
Owner

@daniporr commented on GitHub (Apr 21, 2025):

@tjbck thank you for the feedback

I am unable to fix this, but I would like to suggest some use cases to illustrate its potential benefits.

If you are using a vertical (portrait) external monitor, you often have a reduced width, but you are still using a keyboard, so it would be very convenient to control everything using the keyboard, avoiding the mouse.

When working with multiple applications open side-by-side, OWI is often used with a very narrow width, and the same principle applies.

If you have integrated it into your browser (as many browsers now allow), it appears as a side panel, which is typically very narrow, and the same principle applies.

All this to say that a screen size of less than 768 pixels could previously have been considered a mobile device, and therefore it would have made sense to optimise for mobile interaction, but that is no longer the case.

Should we open a discussion to explore whether others have additional use cases for this?

<!-- gh-comment-id:2818237199 --> @daniporr commented on GitHub (Apr 21, 2025): @tjbck thank you for the feedback I am unable to fix this, but I would like to suggest some use cases to illustrate its potential benefits. If you are using a vertical (portrait) external monitor, you often have a reduced width, but you are still using a keyboard, so it would be very convenient to control everything using the keyboard, avoiding the mouse. When working with multiple applications open side-by-side, OWI is often used with a very narrow width, and the same principle applies. If you have integrated it into your browser (as many browsers now allow), it appears as a side panel, which is typically very narrow, and the same principle applies. All this to say that a screen size of less than 768 pixels could previously have been considered a mobile device, and therefore it would have made sense to optimise for mobile interaction, but that is no longer the case. Should we open a discussion to explore whether others have additional use cases for this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#71381