Is your feature request related to a problem? Please describe.
For example:
Scene1 pushes to Scene1
They are the same scenes but can have different data. So during transition there's no way to identify if the scene is going back one screen since it is still the same scene class.
An example of a transition that affects this is sliding from left to right. When going back it should be from right to left.
Describe the solution you'd like
Have a way in transition factory to know if the transition happening is going back or forward.
Describe alternatives you've considered
Is it also possible for a more granular transition mechanism where it can be specified on specific navigators?
This is an edge case it seems as I am trying this out in a sample application with unrealistic backstack and screens.
Is your feature request related to a problem? Please describe.
For example:
Scene1 pushes to Scene1
They are the same scenes but can have different data. So during transition there's no way to identify if the scene is going back one screen since it is still the same scene class.
An example of a transition that affects this is sliding from left to right. When going back it should be from right to left.
Describe the solution you'd like
Have a way in transition factory to know if the transition happening is going back or forward.
Describe alternatives you've considered
Is it also possible for a more granular transition mechanism where it can be specified on specific navigators?
This is an edge case it seems as I am trying this out in a sample application with unrealistic backstack and screens.