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:/nerdica.net/%7B%24%7B%60data:application/manifest%20json;base64%2C%24%7Bawait?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.