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

[Bug]: Website Scroll is Broken #12432

Closed
geoffdavis92 opened this issue Feb 18, 2022 · 7 comments · Fixed by #12500
Closed

[Bug]: Website Scroll is Broken #12432

geoffdavis92 opened this issue Feb 18, 2022 · 7 comments · Fixed by #12500

Comments

@geoffdavis92
Copy link

Version

latest

Steps to reproduce

  1. Visit docs site (https://jestjs.io/docs/getting-started)
  2. Scroll in main content area

Expected behavior

I expect for page to scroll smoothly in the direction I desire

Actual behavior

The content will scroll a very short distance, then jump back to the top.

Additional context

The website behaves as normal on the following browsers:

  • Firefox 97.0.1 (64 bit)
  • Safari 14.1.1

Environment

System:
  macOS: 10.15.7
  Chrome: Version 97.0.4692.71 (Official Build) (x86_64)
@geoffdavis92 geoffdavis92 changed the title [Bug]: [Bug]: Website Scroll is Broken Feb 18, 2022
@Yexiaoxing
Copy link

Yexiaoxing commented Feb 19, 2022

Same here. Suspect it is because of this facebook/docusaurus#6587 issue. Switching to mobile page via devtool is a mitigation.

Also, if you have Experimental Web Platform features enabled in Chrome flags, disable it can also make it work.

@SimenB
Copy link
Member

SimenB commented Feb 22, 2022

PR welcome if we have some weird CSS like the docusaurus issue suggests

@geoffdavis92
Copy link
Author

Updated my Chrome to Version 98.0.4758.102 (Official Build) (x86_64) and it appears to be working.

@Yoissef64
Copy link

Yoissef64 commented Feb 24, 2022

Updated my Chrome to Version 98.0.4758.102 (Official Build) (x86_64) and it appears to be working.

My Chrome is up to date but the scroll bug is still there
It works on other browsers tho

@Josh-Cena
Copy link
Contributor

Docusaurus beta.15 can break users with "experimental web platform features" turned on. Upgrading to beta.16 should close this.

@SimenB
Copy link
Member

SimenB commented Feb 26, 2022

Tried in #12500, we need to do some algolia magic

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants