mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-12 00:43:31 -05:00
[GH-ISSUE #22747] issue: Chat Input Selection Modal Does Not Reappear for Any Trigger (/, #, @, $) After Space and Backspace #35337
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 @silentoplayz on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22747
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
v0.18.0
Operating System
Ubuntu 24.04.4 LTS
Browser (if applicable)
Mozilla Firefox Snap for Ubuntu v148.0.2 (64-bit) / Google Chrome v146.0.7680.80 (Official Build) (64-bit)
Confirmation
README.md.Expected Behavior
When typing a trigger character (like
#,@,/, or$) followed by text (e.g.,#test), the context selection modal appears. Pressing space legitimately dismisses the modal. However, if the user immediately presses backspace to return the cursor to directly adjacent to the trigger term (deleting the space), the selection modal should reappear to allow selecting the relevant item (folder, model, prompt, or skill), rather than the text simply remaining highlighted without the modal.Actual Behavior
After typing a trigger term (e.g.,
#testor@model), the selection modal appears. Pressing space dismisses the modal. Pressing backspace to delete the space successfully turns the text back into a highlighted tag representation (blue text background), but the selection modal fails to reappear, preventing the user from easily selecting the intended item without re-typing the trigger. This occurs for all chat input triggers (#for documents/folders,@for models,/for prompts, and$for skills).Steps to Reproduce
v0.8.10version on Ubuntu 24.04.4 LTS.#testfor a folder/document,@model_namefor a model,/prompt_namefor a prompt, or$skill_namefor a skill. Observe that the corresponding selection modal pops up.Spacebar on the keyboard. Observe that the modal disappears.Backspacekey to delete the space.Logs & Screenshots
Step 3: Trigger character

#testis typed, and the selection modal correctly appears.Step 4: Spacebar is pressed. Text color returns to plain text (not highlighted) and the selection modal disappears.

Step 5: Backspace is pressed to delete the space. The

#testtext becomes highlighted as a tag again, but the selection modal (from Step 3) does not reappear.Clicking inside the tag: Attempting to click elsewhere within the tag (e.g., between letters) does not trigger the selection modal either, and can result in a "broken" tag state where the highlighting only covers part of the text.

Additional Information