"init" called twice on one page after updating to rc16
-
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 regularpushPage()
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
ons-splitter
.
-
For the record, this was fixed in gh#1540