For Actions.replace() and Actions.reset() animated transition is happening
kolarus opened this issue · comments
Version
- react-native-router-flux v4.3.0
- react-native v0.63.4
- react: 16.13.1
Expected behaviour
When using Actions.replace()
or Actions.reset()
no animated transition should occur
Actual behaviour
Animated transition happens
Platform
IOS (Not tested on android yet)
Same issues after migration to 4.3.0 from 4.2.0, @aksonov Could you please check? Thanks!
Please check latest master
Please check latest master
Great, thanks, could you please deploy fix to latest npm package?
Hi @aksonov , thank you for the quick fix, I still have a transition animation when using Actions.reset() in 4.3.1, is there something I missed or a dependency that I should update?
Thanks
@aksonov just checked your code, the "type" prop was undefined that's why the animation loaded, I patched it with:
animationEnabled: (type === ActionConst.REPLACE || type === 'replace' || !type) ? false : true,
It works for me now
Hm, this will broke 'push' type animations..
oh... what should I do? Why is "type" undefined ?
Following
@aksonov Hello, issue still exists, are you planning to resolve it and deploy new patch version? Thansk a lot
Reopening, just checked, we still have animations
Same issue on 4.3.1
The issue still persists, does someone have an idea how to resolve this?