react-native-youtube-iframe
react-native-youtube-iframe copied to clipboard
Cannot scroll ScrollView: iframe intercepts pan
Describe the bug A user is unable to scroll a scrollview if they start their touch on a video that's actively playing.
AFAICT this behavior is introduced inadvertently by YouTube and their embed API. I'm not sure what can be done.
To Reproduce
- Inside a scrollview, add a YT iframe.
- Have the YT iframe play a video.
- Try to scroll the scrollview by starting a gesture from the center of the video.
- The gesture is ignored.
Expected behavior The scrollview should scroll.
Smartphone (please complete the following information):
react-native-youtube-iframeversion 2.2.2react-native-webviewversion 12.0.2- Device: iOS & Android emulators
I have the same issue :c
I'm having the same issue :/
Hey guys, try this -> https://lonelycpp.github.io/react-native-youtube-iframe/remove-context-share It worked for me. I am using it inside Flashlist.
https://github.com/LonelyCpp/react-native-youtube-iframe/assets/78351031/651e8af4-307e-424d-bc33-787fa5c54196