Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FadeIn issue on Android #401

Open
jonathanroze opened this issue Apr 4, 2023 · 5 comments
Open

FadeIn issue on Android #401

jonathanroze opened this issue Apr 4, 2023 · 5 comments

Comments

@jonathanroze
Copy link

Hi,

I'm using latest version of React-native and react-native-animatable.

When I want to trigger animation like ref.current.fadeOut()

I have this error on Android only:

Error while updating property 'backfaceVisibility' of a view managed by: RCTView

Capture d’écran 2023-04-04 à 11 23 43

@elencho
Copy link

elencho commented Apr 6, 2023

yes, this library is not newArch ready yet :/ I have same problem

@jonathanroze
Copy link
Author

@elencho Did you use flipInX or flipInY method?

@elencho
Copy link

elencho commented Apr 6, 2023

No, My issue is in react-native-modal, It doesn't work anymore

@jonathanroze
Copy link
Author

I solved my issue by editing animation flipInX and flipInY and removing "backfaceVisibility" property!

Maybe react-native-modal use this property.

@yeakbaba
Copy link

yeakbaba commented Mar 3, 2024

In my case, the issue was the animation prop of the component and the imperative animation function I called were not in the same animation family.

In other words, while my component is using flipInX as animation prop, <Animatable.View animation="flipInX" ref={animRef}>
when I call tada() as imperative function, animRef.current?.tada(). I got the same error.

Replacing flipInX with any attention-seekers (rubberBand, wooble, swing, bounce...), or tada with any flippers was my workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants