You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The swipe animation works just fine but when I play the Youtube iframe and swipe to the far right, my screen scrolls as well. I set overflow-hidden but it still doesn't fix it.
To Reproduce
Play the Youtube video and start swipe gesture to the far right
Expected Behaviour
No screen scrolling
Link to repo
Please see code above
The text was updated successfully, but these errors were encountered:
Can you provide a codesandbox, it seems this YoutubeIframe is important to the bug you're experiencing and therefore it's important to have all the relevant information.
Can you provide a codesandbox, it seems this YoutubeIframe is important to the bug you're experiencing and therefore it's important to have all the relevant information.
Sorry for the late reply. I just got back from a vacation. While trying to provide codesandbox, I realize the overflow-scroll issue happens even without the iframe. Meaning when I swipe the card, page scrolling will happen even if I set overflow to hidden.
The issue happens with the example repo as well https://codesandbox.io/s/to6uf
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?
I have this config for @react-spring/web and @use-gesture/react to implement swiping card animation
The swipe animation works just fine but when I play the Youtube iframe and swipe to the far right, my screen scrolls as well. I set overflow-hidden but it still doesn't fix it.
To Reproduce
Play the Youtube video and start swipe gesture to the far right
Expected Behaviour
No screen scrolling
Link to repo
Please see code above
The text was updated successfully, but these errors were encountered: