From 1bd1d34feebe39cdb319cefc4c67cf681e886032 Mon Sep 17 00:00:00 2001 From: plebeius Date: Mon, 9 Feb 2026 19:57:44 +0800 Subject: [PATCH] fix(components): remove redundant instant scroll from quote links --- .../reply-quote-preview/reply-quote-preview.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/reply-quote-preview/reply-quote-preview.tsx b/src/components/reply-quote-preview/reply-quote-preview.tsx index e3225c95..6ee94d6a 100644 --- a/src/components/reply-quote-preview/reply-quote-preview.tsx +++ b/src/components/reply-quote-preview/reply-quote-preview.tsx @@ -105,10 +105,6 @@ const DesktopQuotePreview = ({ backlinkReply, quotelinkReply, isBacklinkReply, i if (cid && subplebbitAddress) { const boardPath = getBoardPath(subplebbitAddress, directories); navigate(`/${boardPath}/thread/${cid}`); - setTimeout(() => { - const element = document.querySelector(`[data-cid="${cid}"]`); - element?.scrollIntoView(); - }, 100); } }; @@ -219,10 +215,6 @@ const MobileQuotePreview = ({ backlinkReply, quotelinkReply, isBacklinkReply, is if (cid && subplebbitAddress) { const boardPath = getBoardPath(subplebbitAddress, directories); navigate(`/${boardPath}/thread/${cid}`); - setTimeout(() => { - const element = document.querySelector(`[data-cid="${cid}"]`); - element?.scrollIntoView(); - }, 100); } };