react-native-snap-carousel icon indicating copy to clipboard operation
react-native-snap-carousel copied to clipboard

Rendering within TouchableNativeFeedback causes component to quit working

Open patrickml opened this issue 3 years ago • 2 comments

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 ([]).)

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

patrickml avatar Nov 18 '20 04:11 patrickml