j7126/OctoPrint-Dashboard

Return to Top always returns to top of Dashboard instead of current tab

Closed this issue · 6 comments

Describe the bug
When clicking on the "Return to Top" arrow (lower right) when scrolled all the way to the bottom of a screen, it always takes you back to the top of the Dashboard tab instead of the top of whatever tab you happen to be in.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a tab other than Dashboard
  2. Scroll to bottom
  3. Click arrow bottom right ("Top" arrow)
  4. Transport yourself back to dashboard tab

Expected behavior
Should go to the top of the current tab

Screenshots
If applicable, add screenshots to help explain your problem.

Files (please attach the following Files or screenshots when applicable):

screencast.2021-05-01.12-29-06.mp4

octoprint-systeminfo-20210501123423.zip

@KenLucke do you know what plugin is providing the scroll to top button (I don't believe it comes with stock octoprint)?

I thought (ass/u/med) it was Dashboard, which was why I posted the bug here.

j7126 commented

@KenLucke as @Willmac16 said, I can confirm that this return to top button is not part of dashboard and it is probably coming from one of the other plugins you have installed.

Could you inspect element on the return to top button and send a screenshot of what you see there and we might be able to figure out where it is coming form.

j7126 commented

@KenLucke after further investigation it seems that this return to top button comes from the Floating Navbar plugin. I have notified @jneilliii of this issue.

and a new version was just released to resolve the issue.

You guys are fast. :)