From 60865a72f8f531df77692f2e0085f1c7f289816e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 3 Sep 2021 22:02:11 -0400 Subject: [PATCH] Fix comment scrolling bug. Fixes #394 --- 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 3186242a..f876ec37 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.