-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
Fix DiscussionListPane jumping around (when going from discussion to discussion) #2402
Conversation
(when going from discussion to discussion)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Is that |
I renamed the variable. Also, after implementing https://github.com/flarum/core/issues/2413 caching of the scroll position won't be necessary anymore. |
I haven't followed well enough. Will this still be necessary? Should I review again? |
@w-4 Just to clarify, you're saying that with flarum/issue-archive#176 the change in this PR won't be needed, right? (since we won't be rerendering the panel completely anyways). If so, maybe we shouldn't be merging this? |
@askvortsov1 Yes, only the if condition |
Ensure that scroll position is retained between page changes, so if navigating via the sidebar, you don't need to re-scroll down every time.
Ensure that scroll position is retained between page changes, so if navigating via the sidebar, you don't need to re-scroll down every time.
Fixes the following issue:
Confirmed