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.
Disable same page load on ons-splitter-side
-
-
This question has been discussed a year ago but i couldn’t find a clue to make this work. Could you please give an example of achieving exactly this in the refrenced topic ?! Thank you.
-
@kobo2000 There was a pull request and the feature was integrated into onsen. There is nothing to make work. Do you have an issue?
-
This post is deleted!
-
@munsterlander I can’t find anything about it. What I want to do is when a certain page is open and the user taps on the navigator item that loads this very page, I don’t want the page to reload because this reload makes dynamically created data to disappear and shows a blank page. So, it’s good to disable navigating to this open page or remove this navigator item that loads it from navigator splitter.
I use this example https://tutorial.onsen.io/?framework=vanilla&category=common patterns&module=splitter_navigator targeting androidThanks!
-
@kobo2000 If that is the case, I would have the splitter menu function do a test, like: onclick = if requested page <> current page then load. Something like that. If you need an example, let me know and I will see if I can find time tomorrow to put something together.
-
This post is deleted!
-
@munsterlander Thanks for your support . it’s working now.