You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use context.router.canPop() to display or not a back icon but for the first route this is not working. The root page is rebuilt while pushing the child the result of context.router.canPop() is true (because it now has a route to pop) but when a pop the route, the root page does not rebuild so the back icon is wrongly displayed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use
context.router.canPop()
to display or not a back icon but for the first route this is not working. The root page is rebuilt while pushing the child the result ofcontext.router.canPop()
is true (because it now has a route to pop) but when a pop the route, the root page does not rebuild so the back icon is wrongly displayed.How can I manage to get this behavior ?
Beta Was this translation helpful? Give feedback.
All reactions