Fix comment scrolling bug. Fixes #394 (#397)

This commit is contained in:
Dessalines 2021-09-04 01:20:34 -04:00 committed by Dessalines
parent 11b8171fde
commit a6f1e448bf

View file

@ -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.