Setting global animation settings do not work, settings are only animated from "Push" or "Pop" events.
Defining animation settings in SetDefaultOptions doesn't work, using the same code in a "Push" event does.
animations: {
push: {
content: {
y: {
from: 1000, to: 0,
}
}
}
},
Same happening for me on Android!
@Lube which RNN version do you have?
animating the topBar seems to be broken as well for any functionality
Indeeed, I couldn't set default animations at all for iOS. And I can confirm setting default animations for Android is only working for "push".
As already reported, settings animations in a screen-basis is working.
EDIT: I'll edit this comment several times while I discover the fixes
For Android pop event take account default options, this line should be: Options resolvedOptions = resolveCurrentOptions(presenter.getDefaultOptions());
https://github.com/wix/react-native-navigation/blob/2c54caa073276f7325cb396cd001a6fcc9ccadde/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/StackController.java#L195
I'm using 2.0.2422 version, @guyca / @yogevbd
I can confirm @mths0x5f fix https://github.com/wix/react-native-navigation/issues/3500#issuecomment-408696714 is working.
Any chance to have a PR? Is this on some king of a schedule?
Why on ios transition animations between screens doesn't work? On android works perfectly
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.
Most helpful comment
Why on ios transition animations between screens doesn't work? On android works perfectly