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

Scrolling causes a noticeable stutter on Docusaurus v2 websites #4454

Closed
RA80533 opened this issue Mar 18, 2021 · 1 comment · Fixed by #4473
Closed

Scrolling causes a noticeable stutter on Docusaurus v2 websites #4454

RA80533 opened this issue Mar 18, 2021 · 1 comment · Fixed by #4473
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@RA80533
Copy link

RA80533 commented Mar 18, 2021

🐛 Bug Report

Scrolling causes a noticeable stutter on Docusaurus v2 websites

To Reproduce

  1. Go to the docs section on the Docusaurus v2 website
  2. Scroll to the top of the page
  3. Attempt to scroll further upwards

Expected behavior

Docusaurus v1

Screen Shot 2021-03-17 at 9 01 38 PM

Maximum CPU Usage: 22.0%

  • Timers
    • 5 × setTimeout
  • Events
    • 44 × scroll

Actual Behavior

Docusaurus v2

Screen Shot 2021-03-17 at 9 57 53 PM

Maximum CPU Usage: 96.1%

  • Events
    • 160 × wheel
    • 42 × scroll
    • 7 × message
    • 3 × mousemove
    • 2 × pointermove
  • Observers
    • 889 × IntersectionObserver

Your Environment

  • Public site url: https://v2.docusaurus.io
  • Docusaurus version used: 2.0.0-alpha.72
  • Environment name and version: Safari 14.0.3 (14610.4.3.1.6)
  • Operating system and version: macOS 10.14.6
@RA80533 RA80533 added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Mar 18, 2021
@armano2
Copy link
Contributor

armano2 commented Mar 19, 2021

i'm going to work on this

@Josh-Cena Josh-Cena removed the status: needs triage This issue has not been triaged by maintainers label Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants