mohebifar / react-native-copilot

Step-by-step walkthrough tooltip for your react native app
MIT License
2.22k stars 406 forks source link

usenativedriver for better animation performance #94

Open siderakis opened 5 years ago

siderakis commented 5 years ago

Is your feature request related to a problem? Please describe.

The UseNativeDriver flag allows the animations to happen completely on the native side. https://facebook.github.io/react-native/docs/animations.html#using-the-native-driver

Describe the solution you'd like A clear and concise description of what you want to happen. Add any considered drawbacks.

When using native driver some properties are no longer animatable. It should be possible to use transforms scale and translate to achieve the desired results (for the animated mask).

Just wondering if this has been considered before. Thanks!

mohebifar commented 5 years ago

I know I tried using the native driver but there were some issues which I don't quite remember. I'll try to check this once again. Thanks!