diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index af880a3e05..a04a664b7a 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -233,6 +233,8 @@ watch([$$(weakBacked), $$(contentEl)], () => { function adjustScroll(fn: () => void): Promise { const oldHeight = scrollableElement ? scrollableElement.scrollHeight : getBodyScrollHeight(); const oldScroll = scrollableElement ? scrollableElement.scrollTop : window.scrollY; + // スクロールをやめさせる + scroll(scrollableElement, { top: oldScroll, behavior: 'instant' }); fn(); return nextTick(() => {