PanResponder not work for Android when the target View is outside the ScrollView #26082
Labels
API: PanResponder
Bug
Component: ScrollView
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
onMoveShouldSetPanResponder/onMoveShouldSetPanResponderCapture/onPanResponderTerminationRequest/onShouldBlockNativeResponder not work in scrollview's outer view.
When the finger is dragged quickly on the ScrollView, The move responder of the view is quickly snatched away by the ScrollView(onPanResponderGrant -> onShouldBlockNativeResponder return true -> onPanResponderMove -> onPanResponderTerminate)
React Native version:
Steps To Reproduce
1.Navigate to the TestPage;
2.Quickly drag fingers on the ScrollView.
Describe what you expected to happen:
The ScrollView remains unchanged. The outer view handle move event in full, the background color of the outer View changes from light blue to blue, from blue to black and finally back to light blue.
Snack, code example, screenshot, or link to a repository:
The text was updated successfully, but these errors were encountered: