Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use browser scroll restore in DiscussionPage #2476

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

askvortsov1
Copy link
Sponsor Member

Fixes #789

Although native browser scroll restorations have become quite powerful, it interferes with Flarum's PostStream scrolling system, so if we're on a DiscussionPage, we use manual scroll restoration.

Although native browser scroll restorations have become quite powerful, it interferes with Flarum's PostStream, so if we're on a DiscussionPage, we use manual scroll restoration.
Copy link
Member

@SychO9 SychO9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, does fix the issue.

@askvortsov1 askvortsov1 merged commit f968420 into master Nov 30, 2020
@askvortsov1 askvortsov1 deleted the as/fix-browser-scroll-restoration branch November 30, 2020 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

post number changes on page refresh
3 participants