React-Native-native-video-controls在scrollview中并不能很好地寻求
我在卷轴上有一个视频,儿童视频播放器传播了Scrollview的手势,这导致了一些奇怪的行为。我如何使反应本性视频控制仅对水平手势做出响应,或者至少防止传播到父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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于遇到问题的任何人,我都可以通过在我的scrollview的道具中设置
disablescrollviewpanresponder = {true}
来修复它。For anyone encountering the issue, I was able to fix it by setting
disableScrollViewPanResponder={true}
in the props of my scrollview.