react-native-snap-carousel
react-native-snap-carousel copied to clipboard
Rendering within TouchableNativeFeedback causes component to quit working
Is this a bug report, a feature request, or a question?
bug report
Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an x
character between the square brackets ([]
).)
- [] I have read the guidelines regarding bug report.
- [] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
- [] I have searched for existing issues and made sure that the problem hasn't already been reported.
- [] I am using the latest plugin version.
- [] I am following the issue template closely in order to produce a useful bug report.
Have you made sure that it wasn't a React Native bug?
There are no issues for TouchableNativeFeedback
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
I have only tested on iOS@14
(Write your answer here and specify the iOS/Android versions on which you've been able to reproduce the issue.)
Is the bug reproductible in a production environment (not a debug one)?
I used a TouchableOpacity
here because TouchableNativeFeedback
does not work on snack
https://snack.expo.io/@patrickwml/carousel-simple-example
Environment
Expo CLI 3.28.5 environment info:
System:
OS: macOS 10.15.7
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.19.0 - /usr/local/bin/node
npm: 6.14.8 - /usr/local/bin/npm
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.1, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
IDEs:
Xcode: 12.1/12A7403 - /usr/bin/xcodebuild
npmPackages:
expo: ~39.0.2 => 39.0.4
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-39.0.4.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 3.28.5
Expo Workflow: managed
Expected Behavior
The carousel should work within a Touchable
Actual Behavior
The Carousel does not work within a touchable
Reproducible Demo
I used a TouchableOpacity
here because TouchableNativeFeedback
does not work on snack
https://snack.expo.io/@patrickwml/carousel-simple-example
Steps to Reproduce
View Demo