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.
"init" called twice on one page after updating to rc16
rancor1223 last edited by
Upon login, I run the
resetToPage();function. The page it calls runs the
'init'event twice. This doesn’t happen with any other page that is using regular
pushPage()to move between pages. It started happening when I switched from rc15 to rc16 of OnsenUI 2.
Here is CodePen replicating the issue: https://codepen.io/anon/pen/KrAgxR
@rancor1223 Thanks for reporting! I found the bug but I need to discuss some stuff with the team before fixing this. I think this only happens with
For the record, this was fixed in gh#1540