From 6091f07d20b239066d09a5b525bd5bdff9aaa276 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 4 Sep 2021 01:20:34 -0400 Subject: [PATCH] Fix comment scrolling bug. Fixes #394 (#397) --- src/shared/components/post/post.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shared/components/post/post.tsx b/src/shared/components/post/post.tsx index 3186242..f876ec3 100644 --- a/src/shared/components/post/post.tsx +++ b/src/shared/components/post/post.tsx @@ -192,10 +192,6 @@ export class Post extends Component { this.scrollCommentIntoView(); } - if (this.checkScrollIntoCommentsParam) { - this.scrollIntoCommentSection(); - } - // Necessary if you are on a post and you click another post (same route) if (_lastProps.location.pathname !== _lastProps.history.location.pathname) { // TODO Couldnt get a refresh working. This does for now. -- 2.44.1