How to determine slide direction between views in a view container

When I navigate from a root view to a branch view, I want it to slide in from the right. Now it looks like it slides “back” in the transition between a couple of views on mobile, because it slides in from the left.

I have sorted them by “order of hierarchy” in the settings of the view container, and this seems like the way to do it. However, this does not affect all the views in the settings.


Hi Lavrans!

You are correct in that the slide direction is determined by the order of the views in the View Container. If you move down the list, the view will slide in from the right and moving up the list will have it slide in from the left.

Is the behaviour not consistent or are you seeking a way to set the slide direction for each individual transition?
Please elaborate on your setup, so that we can try to find a solution.

The behavior is not consistent: the top view in the settings gets some views in from the left. This makes it look like you’re going “back” in the browser history.

I have the following order:

  1. Dashboard
  2. Tasks
  3. History

When navigating between the views Tasks comes in from the left on Dashboard, and History comes in from the right on Tasks. The first navigation is the one that looks awkward.

One other thing I have noticed is that this transition also activates when sliding back in browser history on iPhone. It might be hard to determine how the user switched back in the browser history, but it looks a bit clunky. This is not related to the issue above however! This does make it look especially clunky with the above issue though, as it looks like you’re going back and then forward again.

I see.

Are you switching between the views using a Navigate-action and are any of the views in the View Container conditional?

Every view is switched to using the navigate action with a static main view and sub view defined by a view action parameter

I have tried to set this up the way that you described, but not able to reproduce the bug.

Please DM me if you want to have a look at the details together, so we can figure this one out.