For the "cards stack" example, when cards are flicked to the right, they are still visible if you scroll the window, are there any fixes? #1704
Answered
by
joshuaellis
demonhunter3333
asked this question in
Support
-
First off, I'd like to express my appreciation for the great work that went into developing this amazing library! For the "cards stack" example, when cards are flicked to the right, they are still visible if you scroll the window, are there any fixes? https://codesandbox.io/s/github/pmndrs/react-spring/tree/master/demo/src/sandboxes/cards-stack |
Beta Was this translation helpful? Give feedback.
Answered by
joshuaellis
Oct 4, 2021
Replies: 1 comment 1 reply
-
Yes. If you use CSS and put: position: relative;
overflow: hidden; on the container class, this will stop. See this – https://codesandbox.io/s/musing-khayyam-z0kyg?file=/src/styles.module.css |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
demonhunter3333
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. If you use CSS and put:
on the container class, this will stop.
See this – https://codesandbox.io/s/musing-khayyam-z0kyg?file=/src/styles.module.css