I have multiple views in tabs and have set routes on a view to different pages. When I open a page and go back everything works fine. But when I go to another page from the loaded page and then go back my searchbar from the root view is shown and the root view isn’t loaded anymore.
this is my route:
var recordsView = f7app.views.create('#view-records', {
url: '/',
routes: [
{
name: 'leaderboard-all',
path: '/leaderboard-all/:type/:id',
url: './pages/leaderboard-all.html',
},
{
name: 'add-custom-record',
path: '/add-custom-record/:type/:cat/:templ/',
url: './pages/add-custom-record.html',
},
{
name: 'records-overview',
path: '/records-overview/:type/:id',
url: './pages/records-overview.html',
},
{
name: 'records-calculator',
path: '/records-calculator/:type/:id',
url: './pages/records-calculator.html',
}
]
});
I open records-overview within view-records and go back and this works fine. But when I open records-overview and from that go to records-calculator and then go back to view-records this isn’t loaded anymore.