reactjs / reactjs/react.dev

Scrolling does not work

Open
#6,230 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.8k
Forks
7.9k
Avg merge
1d 11h
Merged PRs (30d)
11

Description

Scrolling issue:
When we visit the link https://react.dev/reference/react the scroll does not work.

If we look into this element

and under the selector .lg:w-[342px] change the width to 320px scroll works correctly.

I am new to web developement and I hope my understanding of the problem and solution is correct.

Regards,
Saurabh

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening https://react.dev/reference/react and inspecting the element with classes overflow-y-scroll no-bg-scrollbar lg:w-[342px] grow bg-wash dark:bg-wash-dark, including the .lg:w-[342px] width rule. Compare scrolling at 342px and 320px, then trace the corresponding site source to identify the layout conflict. Done means scrolling works at the reference page without relying on the width workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, react
Domain
documentation, frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.