Open
Description
If there is no issue for your problem, tell us about it
When you open a modal view from app.component and then close it, the default router navigation seems to repeat onto itself. Pressing the back button navigates back to the same home page. Connected to #1502
Which platform(s) does your issue occur on?
- Both
- emulator or device.
Please, provide the following version numbers that your issue occurs with:
- CLI: 4.2.2
- Cross-platform modules: 4.2.0
- Runtime(s): 4.2.0
- Plugin(s): (see playground example)
Please, tell us how to recreate the issue in as much detail as possible.
Use the playground example below. The login modal page is opened at the start from app.component
- Tap on "Successful Login" -> The modal will close
- Tap the back button -> One navigation to the same home page will execute
Note: Implementing one navigation inside the modal view seems to fix the issue.
Is there any code involved?
https://play.nativescript.org/?template=play-ng&id=2ceg6i&v=2