Skip to content

Parallax has double/inner scrollbar. #2255

@ugoi

Description

@ugoi

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?

9.7.3

What's Wrong?

There are two scrollbars with Parallax effect.

To Reproduce

Try creating new react project with latest version of vite. Then do npm i @react-spring/parallax
and paste this code from codesandbox one to one. You should notice 2 scrollbars instead of one.

Browser: Safari
Device: MacBook Pro m1

https://codesandbox.io/embed/vertical-parallax-h1rrv?codemirror=1

Expected Behaviour

There should be one scrollbar.

Link to repo

https://codesandbox.io/embed/vertical-parallax-h1rrv?codemirror=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions