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
If I navigate with the following flow, the bold effect happens:
App starts on /tab0
IndexedPage.of(context).index = 1 (app goes to /tab1)
router.push('/tab1/subtab/') (app goes to /tab1/subtab)
IndexedPage.of(context).index = 0 (app goes to /tab0)
IndexedPage.of(context).index = 1 (app goes to /tab1/subtab, and also performs transition from /tab1 to /tab1/subtab)
What I would like to happen is the app to go back to /tab1, not /tab1/subtab. So far, I solved this by replacing IndexedPage calls with router.push ones, but then I wonder why we can navigate by setting the IndexedPage index in the first place?...
Or maybe this is intentional behaviour. If it is, I personally would expect as a user the transition animation to NOT be the one from /tab1 to /tab1/subtab, but rather the one for tab switching. I would feel like I'm going back to a view I temporarily "cast aside". With the current behaviour it is weird to see the path rebuilding itself through transitions from /tab1 to /tab1/subtab everytime I change tab.
The text was updated successfully, but these errors were encountered:
Hi!
I have a a tabbed routing setup with IndexedPage as follows:
If I navigate with the following flow, the bold effect happens:
/tab1
to/tab1/subtab
)What I would like to happen is the app to go back to
/tab1
, not/tab1/subtab
. So far, I solved this by replacingIndexedPage
calls withrouter.push
ones, but then I wonder why we can navigate by setting the IndexedPage index in the first place?...Or maybe this is intentional behaviour. If it is, I personally would expect as a user the transition animation to NOT be the one from
/tab1
to/tab1/subtab
, but rather the one for tab switching. I would feel like I'm going back to a view I temporarily "cast aside". With the current behaviour it is weird to see the path rebuilding itself through transitions from/tab1
to/tab1/subtab
everytime I change tab.The text was updated successfully, but these errors were encountered: