Hi,
I have a strange behavior when swiping back on ios theme. I didn’t test it on md.
But after going deep in my app and swipe back my view broke. There are two pages with page-current class, and both pages are overlapping.
If needed i will do a repo to reproduce the error.
i use f7 4.0.5 + vuejs
Meanwhile here is a gif of my issue:
Here is my router.js
export default [
...
{
path: '/novedades/',
async (routeTo, routeFrom, resolve, reject) {
const vueComponent = () => import('./views/News.vue')
vueComponent().then((vc) => {
resolve({ component: vc.default })
})
}
},
{
path: '/news-detail/',
async (routeTo, routeFrom, resolve, reject) {
const vueComponent = () => import('./views/NewsDetail.vue')
vueComponent().then((vc) => {
resolve({ component: vc.default })
})
}
}
...]
if i dont use async comp it works fine:
{
path: '/novedades/',
component: NewsPage
},
{
path: '/news-detail/',
component: NewsDetailPage
},
my f7params:
f7params: {
routes,
touch: {
fastClicks: true
},
input: {
scrollIntoViewOnFocus: true,
scrollIntoViewCentered: true
},
smartSelect: {
pageTitle: 'Seleccione',
sheetCloseLinkText: 'Ok'
},
panel: {
swipeNoFollow: true,
swipe: 'left'
},
view: {
stackPages: false,
removeElements: true
},
on: {
init: () => {
console.log('f7 app init')
}
}
}