# pageStack.replace should not have slide-over transition

When replacing a page by calling pageStack.replace(), the same transition is used as when calling pageStack.push(): the new page sliding over the previous one from right to left.

From a UX point of view, it is not intuitive to have this animation for page replacement, because it makes the user assume that he can just slide back to the previous page (which was discarded), just like they are used to from page hierarchies that are actually stacked (pushed).

I suggest to have a different transition animation for better user experience: the new page sliding in from bottom to top, at the same time pushing the previous page upwards out of view (instead of sliding over)

edit retag close delete

pageStack.replace(myPage, {myProps}, PageStackAction.Immediate)

Thanks, I did not know about PageStackAction, good to know :) yet, I'd like to see the default behavior changed, for improved overall user experience.