mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
Fix restore scroll position. Fixes #227
This commit is contained in:
parent
c23e494dd4
commit
97219bd73b
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ export class Post extends Component<any, PostState> {
|
|||
this.fetchCrossPosts();
|
||||
this.setState(this.state);
|
||||
setupTippy();
|
||||
restoreScrollPosition(this.context);
|
||||
if (!this.state.commentId) restoreScrollPosition(this.context);
|
||||
} else if (op == UserOperation.CreateComment) {
|
||||
let data = wsJsonToRes<CommentResponse>(msg).data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue