react-nativereact-native-gesture-handler

Touchable Opacity not working fine in react native? v0.66.1


I am using react native 0.66.1 with react-native-gesture-handler and reanimated 2. There is very strange behaviour of touchableOpacity. Have a look below;

enter image description here

How we can rid of it??


Solution

  • Basically, I found out what the problem was, If you add elevations and shadow to View then it will have strange behavior of TouchableOpacity. This should not be happen, it seems a bug. However, it was the reason behind.