react-native-flip-card
react-native-flip-card copied to clipboard
Android issue
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?
I also have this issue
I have this issue too
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);
}
}}
I will have a look!
any news on that? 2 years later, still happening :/
@pierroo Will look into it
I have this same issue on iOS
I also have this issue