pageStack.replace should not have slide-over transition

asked 2014-10-27 16:24:02 +0300

tokaru gravatar image

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 flag offensive close delete

Comments

1

You can use immediate action to avoid that, try:

pageStack.replace(myPage, {myProps}, PageStackAction.Immediate)
VDVsx ( 2014-10-28 10:01:20 +0300 )edit

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.

tokaru ( 2014-10-28 15:56:31 +0300 )edit