fix: fix memory leaking of Drawer (#23724)

This commit is contained in:
Shirasawa
2026-04-14 12:20:47 -05:00
committed by GitHub
parent 26a645f9e6
commit f102060a6d
+1
View File
@@ -41,6 +41,7 @@
}
onDestroy(() => {
window.removeEventListener('keydown', handleKeyDown);
show = false;
if (modalElement) {
if (document.body.contains(modalElement)) {