You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the native stack navigator relies on the platform primitives for animations and gestures
But from what I can see, it doesn't exactly follow the system animations.
On my two android devices (android v7.1 and android v10), every new pushed screen uses the scale-from-center transition, but react-navigation just follows the platform in different api level.
react-navigation re-implements animations and gestures
They choose transition based on the platform.version:
My question is, is that scale-from-center transition just exactly the default behavior of FragmentTransaction.TRANSIT_FRAGMENT_OPEN? (sorry, i'm not an android expert)
If positive, then how can we achieve more native-like animations on android in different api level? Does it depends on any extra configuration that i just missed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As the native-stack's README said
But from what I can see, it doesn't exactly follow the system animations.
On my two android devices (android v7.1 and android v10), every new pushed screen uses the scale-from-center transition, but react-navigation just follows the platform in different api level.
They choose transition based on the platform.version:
My question is, is that scale-from-center transition just exactly the default behavior of
FragmentTransaction.TRANSIT_FRAGMENT_OPEN
? (sorry, i'm not an android expert)If positive, then how can we achieve more native-like animations on android in different api level? Does it depends on any extra configuration that i just missed?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions