angular icon indicating copy to clipboard operation
angular copied to clipboard

Feature Request: Allow backnavigation over multipe pages

Open cjohn001 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. I am currently trying to move back in the navigation history by skipping multiple pages. For this I would need to be able to search a relevant page in the navigation history ( by its route) and then go back to this page by removing all pages on top of it in the navigation stack. Seems like this is currently not possible.

Describe the solution you'd like Would be great to have: 1: On API to be able to search for a page in the navigation stack, based on its route. 2: push all pages on top of the found page from the stack, hence navigate back by skipping multiple pages.

Describe alternatives you've considered Currently I am storing the state of each page. If I need to move back more than one page I clear the navigation history and recreate the page. However, this is slow and visually appearing as the transition time is slower than it would need to. I am also using the nativescript/uicharts plugin which needs a longer initial loading time of the chart when a page is created.

cjohn001 avatar Feb 13 '22 20:02 cjohn001