Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Docs don't let me scroll to bottom of page #335

Closed
2 tasks done
cache-rules opened this issue Feb 17, 2022 · 2 comments · Fixed by #336
Closed
2 tasks done

Docs don't let me scroll to bottom of page #335

cache-rules opened this issue Feb 17, 2022 · 2 comments · Fixed by #336
Assignees

Comments

@cache-rules
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Description

If I got to the docs page and scroll down, the browser immediately scrolls me back to the top of the page.

Steps to Reproduce

  1. Go to https://www.fastify.io/docs/latest/
  2. Make sure your browser window is the full height of your screen (minus any OS taskbar). This problem will not repro if you have the window only take up some of the height of your screen.
  3. Attempt to scroll to the bottom of the page

This repros in Chrome and Firefox on Windows 10 and Mac OS X.

Expected Behavior

I would expect scroll position to remain at the bottom of the page, instead I am scrolled back to the top of the page.

@luisorbaiceta
Copy link
Member

Good catch! I'll take a look. Seems to be happening only in the root of the docs. Thanks for reporting!

@luisorbaiceta luisorbaiceta self-assigned this Feb 17, 2022
luisorbaiceta added a commit that referenced this issue Feb 17, 2022
Fixes #335 by cleaning deprecated dependency sticky.js and applying it's logic in scss
mcollina pushed a commit that referenced this issue Feb 17, 2022
Fixes #335 by cleaning deprecated dependency sticky.js and applying it's logic in scss
@labkey-alan
Copy link

🎉 Glad I could help, keep up the good work folks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants