mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-24 08:56:21 -05:00
fix: fix memory leaking of Drawer (#23724)
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
}
|
||||
|
||||
onDestroy(() => {
|
||||
window.removeEventListener('keydown', handleKeyDown);
|
||||
show = false;
|
||||
if (modalElement) {
|
||||
if (document.body.contains(modalElement)) {
|
||||
|
||||
Reference in New Issue
Block a user