fram-x / FluidTransitions

Fluid Transitions for React Navigation
MIT License
2.93k stars 194 forks source link

Is that possible to update appear dynamically? #173

Closed changLiuUNSW closed 5 years ago

changLiuUNSW commented 5 years ago

I have a user case that need to update appear from 'top' to 'bottom' based on some conditions. I have tried to store appear value as state with give initial value to 'top' and update to 'bottom' with this.setState based on some condition later, but it does not work at all. Is that possible to dynamically set appear/disappear?

chrfalch commented 5 years ago

You could try providing your own transition function instead of the strings "top"/"bottom"