-
Notifications
You must be signed in to change notification settings - Fork 25k
Description
Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 6.10.0
Yarn: 1.3.2
npm: 3.10.10
Watchman: Not Found
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 1.5 AI-141.2456560
Packages: (wanted => installed)
react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.0 => 0.54.0
Expected Behavior
When I press a collapsed item (TouchableWithoutFeedback or TouchableHighlight) in the list, or when I press above or below an expanded item, the onPress event should get fired at all times, resulting in the item expanding or collapsing. At the same time, it becomes a horizontal ScrollView and scrolling on the wrapping vertical ScrollView gets disabled.
Actual Behavior
When I press a collapsed item in the list, or when I press above or below an expanded item, the onPress event only gets fired occasionally, while onPressIn and onPressOut always fire. The issue was not reproducible in the simulator, but only on the actual device as well as in the Expo Snack that is attached.
Feels super weird :-)