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

fix: scroll to beginning of text #80

Merged
merged 1 commit into from
Sep 24, 2023
Merged

fix: scroll to beginning of text #80

merged 1 commit into from
Sep 24, 2023

Conversation

wolf31o2
Copy link
Member

Resolves an issue where the Peer Analysis page is scrolled to the bottom, hiding the latency graphs at the top, which is the most likely piece of at a glance information most would want.

  • Create scrollPeers boolean to track our state
  • Set scrollPeers to true at the end of peer ping
  • Set ScrollToBeginning() when scrollPeers is true during refresh loop, toggle false
  • Set scrollPeers to false at beginning of showPeers conditional within getPeerText()

Fixes #58

Signed-off-by: Chris Gianelloni <[email protected]>
@wolf31o2 wolf31o2 merged commit 6bd22d2 into main Sep 24, 2023
7 checks passed
@wolf31o2 wolf31o2 deleted the fix/scroll-to-beginning branch September 24, 2023 17:43
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.

Move cursor to the top of peers page
2 participants