Hi, playing with the library i can't fit it entirely in my scenario.
If we have an application with a navigation stack ios like, the flow of the views could be defined at runtime. For example an app with 3 screen could have a navigation flow like:
A -> B -> C -> C -> B -> C
Every view have his own "back" button for come back to the previous view, and the animation should be inverted.
Playing with animation priorities i can't find a way to satisfy this need.
I think a solution could be add an alternative animation for "back" transition.
{
"enter": {
"in": "right",
"out": "fadeDelayed"
},
"leave": {
"in": "fadeDelayed",
"out": "right"
}
"back": {
"enter": {
"in": "fadeDelayed",
"out": "right"
},
"leave": {
"in": "right",
"out": "fadeDelayed"
}
}
}
And with some kind of option to set in $stateChangeSuccess event, so the app could define his navigation stack.