mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #22783] issue: Memory Deletion Unexpectedly Triggers Edit Modal Due to Event Bubbling #58482
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 18, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22783
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
Clicking the
Delete(trash can/bin) icon in the Memory Manage modal should:Actual Behavior
When clicking the
Delete(trash can/bin) icon for a specific memory:Edit Memorymodal for that entry is triggered and opens.Updateinside this ghost modal, aMemory Not foundnotification toast is thrown, accompanied by a 404 error in the console.Steps to Reproduce
ManageModal.Memory Not foundtoast.Logs & Screenshots
Console Log:
Screenshots:
Additional Information
This is a classic event bubbling issue in
src/lib/components/chat/Settings/Personalization/ManageModal.svelte. The list itemdivhas anon:clickhandler that triggers the Edit Modal:The buttons (Edit/Delete) inside this
divdo not usee.stopPropagation()(oron:click|stopPropagation), so clicking any action also fires the parenton:clickevent.@tjbck commented on GitHub (Mar 20, 2026):
Addressed in dev.
@silentoplayz commented on GitHub (Mar 20, 2026):
Thanks! I can confirm that
fe772d95e2resolves the issue as expected.