Skip to content

Commit

Permalink
Fix comment scrolling bug. Fixes #394
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Sep 4, 2021
1 parent 11b8171 commit 60865a7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/shared/components/post/post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ export class Post extends Component<any, PostState> {
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.
Expand Down

0 comments on commit 60865a7

Please sign in to comment.