[GH-ISSUE #11155] bug: Chat Dragging Interferes With Text Selection During Rename #54791

Closed
opened 2026-05-05 16:43:21 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @bannert1337 on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11155

Current Behavior

When attempting to select text during chat renaming by click-dragging the mouse:

  1. Mouse drag motion unexpectedly initiates chat dragging
  2. Text selection becomes impossible during rename operation
  3. Interface behaves as if moving chat element instead of selecting text

Expected Behavior

Mouse drag motions during renaming should:

  1. Enable standard text selection within the input field
  2. Prevent chat element dragging interactions
  3. Maintain focus on text editing operations

Reproduction Steps

  1. Click three-dot button of a chat and click rename
  2. Click in the text field to begin editing
  3. Attempt to select text via mouse drag
  4. Observe chat element dragging instead of text selection

Environment

  • OS: Kubuntu 24.10
  • Browser: Floorp 11.23.1 (64-bit)
  • Open WebUI Version: v0.5.18

Potential Cause

Likely event handler conflict between:

  • Chat element drag-and-drop functionality
  • Text input selection handlers

Related files may include:

  • Chat list component
  • Drag-and-drop implementation
  • Text input event handlers

Might be related to issue #939

Originally created by @bannert1337 on GitHub (Mar 4, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11155 ### Current Behavior When attempting to select text during chat renaming by click-dragging the mouse: 1. Mouse drag motion unexpectedly initiates chat dragging 2. Text selection becomes impossible during rename operation 3. Interface behaves as if moving chat element instead of selecting text ### Expected Behavior Mouse drag motions during renaming should: 1. Enable standard text selection within the input field 2. Prevent chat element dragging interactions 3. Maintain focus on text editing operations ### Reproduction Steps 1. Click three-dot button of a chat and click rename 2. Click in the text field to begin editing 3. Attempt to select text via mouse drag 4. Observe chat element dragging instead of text selection ### Environment - OS: Kubuntu 24.10 - Browser: Floorp 11.23.1 (64-bit) - Open WebUI Version: v0.5.18 ### Potential Cause Likely event handler conflict between: - Chat element drag-and-drop functionality - Text input selection handlers Related files may include: - Chat list component - Drag-and-drop implementation - Text input event handlers Might be related to issue #939
Author
Owner

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

Good report. I do believe this is a bug after recognizing that old behavior of click-dragging on the text when editing the title of a chat would allow the user to select the text rather than invoking the chat drag/drop functionality. I could've reported this myself internally, as I've known about this behavior for some time now, but I also didn't think of it is a bug until I seen this report.

<!-- gh-comment-id:2698904246 --> @silentoplayz commented on GitHub (Mar 4, 2025): Good report. I do believe this is a bug after recognizing that old behavior of click-dragging on the text when editing the title of a chat would allow the user to select the text rather than invoking the chat drag/drop functionality. I could've reported this myself internally, as I've known about this behavior for some time now, but I also didn't think of it is a bug until I seen this report.
Author
Owner

@tjbck commented on GitHub (Mar 5, 2025):

2a75a85556

<!-- gh-comment-id:2699502153 --> @tjbck commented on GitHub (Mar 5, 2025): 2a75a855566065563fe2139e6ce82e08811403ae
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#54791