SCENE: Mainview navigates deeper and deeper, the deepest page has a popup with a view in it. And the view in popup navigates deeper.
ISSUE: Close the whole popup without navigating back the view in it, then swipeback to navigate back in the mainview, the “page-previous” element gets stuck and failed to convert to “page-current”. However, navigating back with the backbutton works fine.
VERSION: 5.5.4 CORE
I manually fixed this using swipeback events, code is here:
app.views.current.on('swipebackBeforeChange', function(){
$$('.page-previous').addClass('page-current');
$$('.page-previous').removeClass('page-previous');
app.views.current.off('swipebackBeforeChange');
});
But I don’t think this is a good solution. Looking forward to a solution from the basement layer. Framework7 works great for creating apps and I love using it. Thank you!