Animate text opacity under iOS does sometimes not work #16269
Labels
Platform: iOS
iOS applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Steps to Reproduce
Create two animated Text components with
Use two
Animated.Value
which you've gotten by interpolating oneAnimated.Value
provided by a react-native-interactable in two different ways. Then use those two values to animate the opacity of two of thoseAnimatedText
components, like that (I've only tried it with native animations).Expected Behavior
I expected the first text to disappear, while the second one appears. When the second one is fully visible, it should start disappearing again and the first one should reappear.
Actual Behavior
One of the texts behaves as expected, while the second one doesn't get animated (it depends on which starts with a higher opacity - the one which does will work as expected, the other one won't get animated at all).
Reproducible Demo
Quiet hard to set up. I've tried creating a snack with an easy animation using Animated.timing(), but using this the bug doesn't reproduce. In addition Snack doesn't support react-native-interactable. It also does not appear on Android and the animation works if I change the opacity of a view wrapping the text, meaning that it should not be a react-native-interactable bug.
If there's something willing to have a closer look at this, I'm willing to create an example project and publish it on github.
Greetings
DragonRaider5
The text was updated successfully, but these errors were encountered: