Pop to Route
Using this action, you can enhance navigation in your mobile app by letting users quickly return to a specific page. This feature enables skipping any intermediate pages in the navigation sequence and going straight to the intended target page.
Adding the Pop to Route Action:
Open the Dropdown Menu
Click on the dropdown menu to select how you want to open the page.
Select "Full page" or "Bottom sheet"
Full page: This option will open the page in full view.
Bottom sheet: This option will open the page in a bottom sheet, which is an alternative to a menu or a dialog. It opens from the bottom to the top and can be dismissed by swiping it from top to bottom. When it opens, it prevents the user from interacting with the rest of the app.
Select the Page to Display
Beside the Page dropdown, select the page you want to display from the list of available pages.
Toggle Button for "Expect Result from Target Route"
Tap the toggle button if you want to perform any action after navigating to the page. This allows you to handle any results or actions that should occur after the navigation.
Remove Previous Screens from Stack
If you want to remove previous screens that are in the stack (for example, when completing a transaction in a bank app and you don't want to go back to the previous pages), follow these steps:
Select how far back you want to remove the pages in the "Route name to remove Until" section.
Type the name of the page up to which you want to remove the previous screens.
By following these steps, you can effectively manage how pages are displayed and navigated within your app.
Last updated