Issue - We have a close callback on showModal which should ideally navigate user to another page. However when a modal dialog box is closed, user is navigated back to base page instead of the page to be navigated.
So navigation which should work as Login -> Staff-list is working as Login -> Staff-list -> Login (back due to additional Child Route Processing)
Code to reproduce issue can be found at https://play.nativescript.org/?template=play-ng&id=lrIrYT&v=5
Steps to reproduce
- App launches on Home Screen
- Click on Login Tap
- Popup appears. Click on Select button.
- You should be routed to Staff page. (ideally) as per navigation.
- If you are routed to staff list page correctly, please click back and move to Home page and repeat steps from 1 to 4.
- Issue mentioned above should be reproduced.