mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 15:27:37 -05:00
[GH-ISSUE #12984] Enter Key Behavior not respected when width < 768px #71381
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @daniporr on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12984
Check Existing Issues
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
README.md.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
Enterkey (if "Enter to Send" was chosen) nor theCtrl+Enterkeys (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
EnterorCtrl+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:
@tjbck commented on GitHub (Apr 17, 2025):
Intended behaviour, however PRs will be considered.
@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?