react-native-flip-card icon indicating copy to clipboard operation
react-native-flip-card copied to clipboard

Android issue

Open ronbarrera opened this issue 4 years ago • 8 comments

I have this issue on Android that when I flip the card, the text stays and gets flipped, then like a second later it switches to the backside. This issue happens just by running the demo code. For iPhone, it flips correctly showing the right content. does anyone else have this issue?

ronbarrera avatar May 19 '20 01:05 ronbarrera

I also have this issue

LouisRaine avatar Oct 03 '20 17:10 LouisRaine

I have this issue too

HossamBhi avatar May 20 '21 18:05 HossamBhi

I had to fix it like this:

const [opacityAnimation] = useState(new Animated.Value(1));
const opacity = opacityAnimation.interpolate({
  inputRange: [0, 1],
  outputRange: [0, 1],
});



onFlipStart={() => {
  if (Platform.OS === "android") {
	  Animated.timing(opacityAnimation, {
		  toValue: 0,
		  duration: 10,
		  useNativeDriver: false,
	  }).start(() => {});
	  setTimeout(() => {
		  Animated.timing(opacityAnimation, {
			  toValue: 1,
			  duration: 100,
			  useNativeDriver: false,
		  }).start(() => {});
	  }, 100);
  }
}}

jdponomarev avatar Aug 03 '21 13:08 jdponomarev

I will have a look!

juandl avatar Feb 13 '23 16:02 juandl

any news on that? 2 years later, still happening :/

pierroo avatar Jul 04 '23 09:07 pierroo

@pierroo Will look into it

juandl avatar Jul 06 '23 05:07 juandl

I have this same issue on iOS

Leroy231 avatar Jan 23 '24 00:01 Leroy231

I also have this issue

thenxkk avatar Apr 25 '24 08:04 thenxkk