How can I give a hint to the transition animation on which way I want it to slide?


#1

My project is organized in such a way that I want the user to be able to navigate between view in a list that are in a certain order. The default slide transition takes into account the user’s navigation history, which is sometimes good and sometimes bad. Is there a way to simply pass along which way I want the view to slide?

Here is a codepen that demonstrates the issue I am having.