From: Dessalines Date: Sat, 4 Sep 2021 05:20:34 +0000 (-0400) Subject: Fix comment scrolling bug. Fixes #394 (#397) X-Git-Url: http://these/git/%22https:/image.com/readmes/%22%7Burl%7D/%7BimageUploadUrl%7D?a=commitdiff_plain;h=6091f07d20b239066d09a5b525bd5bdff9aaa276;p=lemmy-ui.git Fix comment scrolling bug. Fixes #394 (#397) --- 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.