Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to add a "go to" on a page who is already in stack
-
Hi,
I start coding a cordova app with react and onsen ui.
But I have a little problem. I made a little workflow and I want to return to the second page of it. I try, resetPage(), pushPage(), and popPage many times (but popPage must be finish his animation to call an other popPage and It’s not a good solution I think)
So my question is : How can return to a page already in page stack ?
Thank’s you
-
@corentinbaur Try
bringPageTop(item, [options])
. https://onsen.io/v2/docs/js/ons-navigator.html
-
@munsterlander Thank’s for your response. I see this function, I think it works. But in the Navigator.jsx React/OnsenUi, this function is not implemented. https://onsen.io/v2/docs/react/Navigator.html
You think, this function is missing in OnsenUI React ?
Thank’s
-
Isn’t implemented in react bindings, I use react-onsen builded by myseld from latest onsenui and seams that this library is missing lot of features…