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

Add useNativeDriver as an option for Animation #80

Open
alex4dev opened this issue Aug 5, 2019 · 10 comments
Open

Add useNativeDriver as an option for Animation #80

alex4dev opened this issue Aug 5, 2019 · 10 comments

Comments

@alex4dev
Copy link

alex4dev commented Aug 5, 2019

Hi, i've seen useNativeDriver is not set for Animated api, why?
Maybe we can add a prop in Toast component for that.

Thanks

@alex4dev
Copy link
Author

alex4dev commented Aug 6, 2019

My pull request her : #81

@pabloluz
Copy link

@crazycodeboy can we have this merged, please?

@vinodhram3
Copy link

vinodhram3 commented May 12, 2020

I am also facing the same issue.
Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false
When I use react-native-easy-toast
Did anyone have a solution to this?

@ErickArciniega
Copy link

Yes I have the same issue, it's necessary implement useNativeDriver for smother animations, any solution?

@Alejandrehl
Copy link

Any solution?

@NathanNovak
Copy link

Any solution?

I went into the node modules and added it myself. I noticed this repo has been forked over 200 times so I assume that the creator is no longer maintaining it.

@pabloluz
Copy link

I did the same. For everyone else who is looking for a (palliative) solution, you guys can simply do the same as #81. It's super straightforward ;)

@ArauzVega
Copy link

Someone who fixed it did so as follows:
node_modules package> react native-easy-toast> index.js
and add the following configuration:

In show function:

image

In close function:

image

@Bitenca
Copy link

Bitenca commented Aug 13, 2020

Guys? anyone can merge pls?

@ArauzVega
Copy link

Guys? anyone can merge pls?

You can try this too :)

image

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

8 participants