react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Add useNativeDriver as an option for Animation

Open alex4dev opened this issue 6 years ago • 10 comments

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 avatar Aug 05 '19 13:08 alex4dev

My pull request her : #81

alex4dev avatar Aug 06 '19 08:08 alex4dev

@crazycodeboy can we have this merged, please?

pabloluz avatar Apr 23 '20 19:04 pabloluz

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?

vinodhram3 avatar May 12 '20 12:05 vinodhram3

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

ErickArciniega avatar Jun 15 '20 00:06 ErickArciniega

Any solution?

Alejandrehl avatar Jul 05 '20 14:07 Alejandrehl

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.

NathanNovak avatar Jul 24 '20 15:07 NathanNovak

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 ;)

pabloluz avatar Jul 24 '20 16:07 pabloluz

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

ArauzVega avatar Jul 28 '20 21:07 ArauzVega

Guys? anyone can merge pls?

Bitenca avatar Aug 13 '20 23:08 Bitenca

Guys? anyone can merge pls?

You can try this too :)

image

ArauzVega avatar Aug 14 '20 16:08 ArauzVega