From 6eaadfac7b12f22d6a8b8b37992b695e798ef9e5 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 4 Aug 2023 13:01:26 +0000 Subject: [PATCH] :v: --- packages/frontend/src/components/MkPopupMenu.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkPopupMenu.vue b/packages/frontend/src/components/MkPopupMenu.vue index ce0248e235..73afcc1fab 100644 --- a/packages/frontend/src/components/MkPopupMenu.vue +++ b/packages/frontend/src/components/MkPopupMenu.vue @@ -42,11 +42,15 @@ function onModalClose() { function onMenuClose() { close(); + if (hiding.value) { + // hidingであればclosedを発火 + emit('closed'); + } } function onModalClosed() { if (!hiding.value) { - // hideが来ていない場合のみclosedを発火 + // hidingでなければclosedを発火 emit('closed'); } }