mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
[GH-ISSUE #952] Unable to edit chat titles (input doesn't hold keyboard focus) #27793
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 @aaron-em on GitHub (Feb 28, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/952
Bug Report
Description
Bug Summary:
When attempting to edit a chat title in the sidebar, the
inputelement cannot be focused, making it impossible to type anything into the field.A workaround exists, and is described below.
Steps to Reproduce:
Expected Behavior:
inputelement containing the chat title.inputelement is clicked, keyboard focus remains on it, enabling text to be entered.Actual Behavior:
The
inputelement gains and immediately loses focus.Environment
Reproduction Details
Confirmation:
No container logs included as they are not applicable to this frontend issue
Logs and Screenshots
Browser Console Logs:
With
temp0as a reference to theinputelement, adding listeners forfocus,blur, andclickevents reflects the element gaining and then immediately losing focus:Docker Container Logs:
n/a - everything else works fine! 😄
Screenshots (if applicable):
n/a - will provide a screen recording on request, but the repro steps seem fairly clearcut
Installation Method
Local Docker build from a checkout at the
v0.1.106tag, without modifications.Additional Information
The following workaround enables updating chat titles on MacOS in Firefox (maybe others, haven't tested):
inputto select all text it contains. Do not release the mouse button after the third click.