From 79b4a736796bb386ace89b78de8b5cb16c85f3a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?=
<67428053+kakkokari-gtyih@users.noreply.github.com>
Date: Wed, 22 Jul 2026 22:28:01 +0900
Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E3=81=84=E3=81=8F=E3=81=A4?=
=?UTF-8?q?=E3=81=8B=E3=81=AE=E3=82=A4=E3=83=99=E3=83=B3=E3=83=88=E3=83=AA?=
=?UTF-8?q?=E3=82=B9=E3=83=8A=E3=83=BC=E3=81=AE=E8=A7=A3=E9=99=A4=E5=87=A6?=
=?UTF-8?q?=E7=90=86=E3=81=AE=E4=BF=AE=E6=AD=A3=20(#17768)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* fix(frontend): いくつかのイベントリスナーの解除処理の修正
* fix
---
.../MkStreamingNotificationsTimeline.vue | 3 ++
.../src/components/global/MkCondensedLine.vue | 44 ++++++++++++-------
.../frontend/src/components/grid/MkGrid.vue | 26 ++++++++++-
.../frontend/src/directives/click-anime.ts | 2 +-
packages/frontend/src/utility/sound.ts | 5 +++
5 files changed, 61 insertions(+), 19 deletions(-)
diff --git a/packages/frontend/src/components/MkStreamingNotificationsTimeline.vue b/packages/frontend/src/components/MkStreamingNotificationsTimeline.vue
index 881548217c..3c15200f7f 100644
--- a/packages/frontend/src/components/MkStreamingNotificationsTimeline.vue
+++ b/packages/frontend/src/components/MkStreamingNotificationsTimeline.vue
@@ -182,6 +182,9 @@ onMounted(() => {
onUnmounted(() => {
if (connection) connection.dispose();
+ if (scrollContainer != null) {
+ scrollContainer.removeEventListener('scroll', onScrollContainerScroll);
+ }
});
defineExpose({
diff --git a/packages/frontend/src/components/global/MkCondensedLine.vue b/packages/frontend/src/components/global/MkCondensedLine.vue
index baa8d783f1..8263870b89 100644
--- a/packages/frontend/src/components/global/MkCondensedLine.vue
+++ b/packages/frontend/src/components/global/MkCondensedLine.vue
@@ -37,29 +37,41 @@ const observer = new ResizeObserver((entries) => {
diff --git a/packages/frontend/src/components/grid/MkGrid.vue b/packages/frontend/src/components/grid/MkGrid.vue
index 097a91bad5..2b7b005f62 100644
--- a/packages/frontend/src/components/grid/MkGrid.vue
+++ b/packages/frontend/src/components/grid/MkGrid.vue
@@ -48,7 +48,7 @@ SPDX-License-Identifier: AGPL-3.0-only