diff --git a/apps/web/src/app/(dynamicPages)/entry/[category]/[author]/[permlink]/_components/selection-popover/index.tsx b/apps/web/src/app/(dynamicPages)/entry/[category]/[author]/[permlink]/_components/selection-popover/index.tsx index 886c9274f7..4929b139fb 100644 --- a/apps/web/src/app/(dynamicPages)/entry/[category]/[author]/[permlink]/_components/selection-popover/index.tsx +++ b/apps/web/src/app/(dynamicPages)/entry/[category]/[author]/[permlink]/_components/selection-popover/index.tsx @@ -292,7 +292,7 @@ export const SelectionPopover = ({ children, postUrl }: any) => { onQuotesClick(selectedText); document .getElementsByClassName("comment-box")[0] - .scrollIntoView({ block: "center" }); + ?.scrollIntoView({ block: "center" }); }} /> )}