[bug]: Scrolling UI issue

Open
#2,135 8 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ashrafchowdury is already working on this.

Since Apr 3, 2023.

  • #2151 by @Lowza — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend, web-dev

Research direction

Start by reproducing the scrolling behavior at https://react-spring.dev/docs and review the issue's screenshots and video alongside it. Identify the affected component and confirm that scrolling over it moves only that component, including when scrolling back to the top.

Written by the indexing model from the issue text.

Description

area: docs kind: bug type: good first issue
Which react-spring target are you using?
  • @react-spring/web
  • @react-spring/three
  • @react-spring/native
  • @react-spring/konva
  • @react-spring/zdog
What version of react-spring are you using?

https://react-spring.dev/docs

What's Wrong?

Main scrolling issue

When we scroll over this component first the main page scrolls then this component starts scrolling.
image

Bug Preview

When we scroll back to the top then the page behaves occurred.
https://user-images.githubusercontent.com/87828904/229473880-7bb6854a-a1d3-4a62-bfef-12e7f92f5e46.mp4

To Reproduce

https://react-spring.dev/docs

Expected Behaviour

When we scroll over this component just this component needs to scroll not the main page.
image

Link to repo

https://react-spring.dev/docs

Dominant language
TypeScript
Stars
29.3k
Forks
1.2k
Avg merge
3d 15h
Merged PRs (30d)
17

Getting set up

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.

More from pmndrs/react-spring

All issues in pmndrs/react-spring

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.