react-nativereact-native-videopanresponder

react-native-video-controls doesn't seek well inside scrollview


I have a video inside a scrollview, and the child video player propagates the gesture to the scrollview, which results in some weird behavior. How do I make react-native-video-controls only respond to horizontal gestures, or at least prevent the propagation up to the parent scrollview?


Solution

  • For anyone encountering the issue, I was able to fix it by setting disableScrollViewPanResponder={true} in the props of my scrollview.