Page is jumping when scrolling
Open
Nobody has claimed this yet.
bug: confirmed
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Hey!
I was scrolling the page and it appeared that it was jumping all over the time.
Firstly I thought that it was related to expandable, but I found out that actually, this was due to a change of height in the iframe example
Here is the little video:
Screencast 2023-05-04 17-56-57.webm
Page it was discovered on:
https://react.dev/learn/updating-objects-in-state#copying-objects-with-the-spread-syntax
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the linked Updating Objects in State page and reproduce the scroll jump while the iframe example changes height. Inspect the iframe example's sizing behavior and verify that scrolling remains stable after its height changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100