bug: Caret position cannot be adjusted via mouse click during chat renaming #4236

Closed
opened 2025-11-11 15:49:18 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bannert1337 on GitHub (Mar 4, 2025).

Bug Report

Description

When attempting to rename an existing chat, users cannot reposition the text insertion point (caret) by clicking different positions in the text input field with their mouse.

Steps to Reproduce

  1. Click three-dot button of a chat and click rename
  2. Try to click at a different position in the chat name text field
  3. Observe caret behavior

Expected Behavior

Caret should move to the clicked position in the text field, allowing for precise text editing.

Actual Behavior

Caret remains in its initial position (either at start or end of text) regardless of mouse clicks within the input field.

Additional Context

  • OS: Kubuntu 24.10
  • Browser: Floorp 11.23.1 (64-bit)
  • Open WebUI Version: v0.5.18
  • Potential conflict with text input focus management in the chat rename component

Possible Solution

  1. Verify mouse event handlers are properly implemented for the text input
  2. Check for conflicting focus/blur event listeners
  3. Consider using a controlled input component with proper selection management
Originally created by @bannert1337 on GitHub (Mar 4, 2025). # Bug Report ### Description When attempting to rename an existing chat, users cannot reposition the text insertion point (caret) by clicking different positions in the text input field with their mouse. ### Steps to Reproduce 1. Click three-dot button of a chat and click rename 2. Try to click at a different position in the chat name text field 3. Observe caret behavior ### Expected Behavior Caret should move to the clicked position in the text field, allowing for precise text editing. ### Actual Behavior Caret remains in its initial position (either at start or end of text) regardless of mouse clicks within the input field. ### Additional Context - **OS:** Kubuntu 24.10 - **Browser:** Floorp 11.23.1 (64-bit) - **Open WebUI Version:** v0.5.18 - Potential conflict with text input focus management in the chat rename component ### Possible Solution 1. Verify mouse event handlers are properly implemented for the text input 2. Check for conflicting focus/blur event listeners 3. Consider using a controlled input component with proper selection management
Author
Owner

@silentoplayz commented on GitHub (Mar 4, 2025):

Related - https://github.com/open-webui/open-webui/issues/11155 (linking similar issues for OP)

@silentoplayz commented on GitHub (Mar 4, 2025): Related - https://github.com/open-webui/open-webui/issues/11155 (linking similar issues for OP)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4236