diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-04-16 10:35:05 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-04-16 10:35:05 +0900 |
| commit | 6d90e09a587e000fb780f64dae4a1d249568dbc3 (patch) | |
| tree | 0b784902ef30797b598d48af2d452d1fbea3af5b /packages/frontend/src/components/MkNotifications.vue | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | misskey-6d90e09a587e000fb780f64dae4a1d249568dbc3.tar.gz misskey-6d90e09a587e000fb780f64dae4a1d249568dbc3.tar.bz2 misskey-6d90e09a587e000fb780f64dae4a1d249568dbc3.zip | |
enhance(frontend): タイムライン以外でもスクロール位置の保持を試みるように
Diffstat (limited to 'packages/frontend/src/components/MkNotifications.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNotifications.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue index 99eca35eb7..b8fada1020 100644 --- a/packages/frontend/src/components/MkNotifications.vue +++ b/packages/frontend/src/components/MkNotifications.vue @@ -24,8 +24,8 @@ SPDX-License-Identifier: AGPL-3.0-only tag="div" > <template v-for="(notification, i) in notifications" :key="notification.id"> - <MkNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :class="$style.item" :note="notification.note" :withHardMute="true"/> - <XNotification v-else :class="$style.item" :notification="notification" :withTime="true" :full="true"/> + <MkNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :class="$style.item" :note="notification.note" :withHardMute="true" :data-scroll-anchor="notification.id"/> + <XNotification v-else :class="$style.item" :notification="notification" :withTime="true" :full="true" :data-scroll-anchor="notification.id"/> </template> </component> </template> |