fix(rn,welcome) use native driver for opacity animation
This commit is contained in:
parent
ab3d2160c9
commit
55e6cc027b
|
@ -226,7 +226,8 @@ class WelcomePage extends AbstractWelcomePage<*> {
|
||||||
// $FlowExpectedError
|
// $FlowExpectedError
|
||||||
{
|
{
|
||||||
duration: 300,
|
duration: 300,
|
||||||
toValue: focused ? 1 : 0
|
toValue: focused ? 1 : 0,
|
||||||
|
useNativeDriver: true
|
||||||
})
|
})
|
||||||
.start(animationState =>
|
.start(animationState =>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue