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.
Onsen ui pull to refresh stops working after page transition!
-
Hello,
I’m trying to use onsen ui pull to refresh in my project.
The first time the app loads, the pull to refresh works fine (mainly because it is on the first page of the app)… But when i navigate to another page and then go back to the main page, the pull to refresh doesn’t work at all.
I have no idea what’s causing this issue to be honest and I’m pulling my hair out instead of pull to refresh :)
This is my working code:
https://codepen.io/anon/pen/RVwXpx?&editors=101
If you pull to refresh when the app loads, you should see an alert(); and then navigate to any other pages using the buttons at the bottom of the page and then go back to the home page, the pull to refresh doesn’t work anymore!
Can someone please help me with this issue?
Thanks in advance.
-
found my answer here: