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

Set initial scroll height when needed #346

Merged
merged 1 commit into from Jul 4, 2022

Conversation

kgarner7
Copy link
Contributor

This seeks to address #343.

It's a pretty small change. If autoscrolling is set, then, in addition to scrolling to the top, it saves the position as the initial scroll offset (so that future clicks do not cause it to scroll back to the top).

@jeffvli
Copy link
Owner

jeffvli commented Jul 4, 2022

Thanks for the fix!

@jeffvli jeffvli merged commit 4c52700 into jeffvli:main Jul 4, 2022
@jeffvli jeffvli linked an issue Jul 4, 2022 that may be closed by this pull request
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.

Mini Player jumps to top on first click when opened
2 participants