From 3aeb5b52a1e3d8207927c69fbc116f585a6e61d9 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Wed, 9 Aug 2023 17:26:20 +0900 Subject: [PATCH] missing 15683370 --- packages/frontend/src/ui/friendly.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend/src/ui/friendly.vue b/packages/frontend/src/ui/friendly.vue index e3a0f9f3bc..652b7882c5 100644 --- a/packages/frontend/src/ui/friendly.vue +++ b/packages/frontend/src/ui/friendly.vue @@ -110,6 +110,7 @@ import { deviceKind } from '@/scripts/device-kind'; import { miLocalStorage } from '@/local-storage'; import { eventBus } from '@/scripts/cherrypick/eventBus'; import { CURRENT_STICKY_BOTTOM } from '@/const'; +import { useScrollPositionManager } from '@/nirax'; import CPAvatar from '@/components/global/CPAvatar-Friendly.vue'; import tinycolor from 'tinycolor2'; import { globalEvents } from '@/events'; @@ -329,6 +330,8 @@ watch($$(navFooter), () => { }, { immediate: true, }); + +useScrollPositionManager(() => contents.value.rootEl, mainRouter);