This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
Redirect on pop back #366
Unanswered
marcguilera
asked this question in
Q&A
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This may be intended but I noticed that when going back the redirect is not evaluated. Consider the following example:
In the example
device
represents the size of the screen for which I have slightly different designs. On mobile login and register will be different tabs (/auth/login
or/auth/register
) in a PageView while on other form factors they both can go side by side (just/auth
).With the above code, if I type
/auth/recover
in my browser with a small screen the forgot screen is stacked on top of/auth
as one would expect. However, when i tap the back button I go to/auth
so there is no redirect.The question is: should the redirect in a route be evaluated when popping or is this the intended behaviour.
Beta Was this translation helpful? Give feedback.
All reactions