"back" not working sometimes

clicking “back” button in navigation ends up with:

Uncaught TypeError: Cannot read property ‘route’ of undefined
at Router.back (framework7.esm.bundle.js?8f98:4365)
at afterAnimation (framework7.esm.bundle.js?8f98:4198)
at router.animate (framework7.esm.bundle.js?8f98:4219)
at onDone (framework7.esm.bundle.js?8f98:4705)
at HTMLDivElement.animationEnd (framework7.esm.bundle.js?8f98:4709)
at HTMLDivElement.fireCallBack (dom7.module.js?4419:467)
at HTMLDivElement.handleEvent (dom7.module.js?4419:333)

framework7-vue.esm.bundle.js?f0e0:169 Uncaught TypeError: Cannot read property ‘removeChild’ of null
at Router.removePage (framework7-vue.esm.bundle.js?f0e0:169)
at afterAnimation (framework7.esm.bundle.js?8f98:4186)
at router.animate (framework7.esm.bundle.js?8f98:4219)
at onDone (framework7.esm.bundle.js?8f98:4705)
at HTMLDivElement.animationEnd (framework7.esm.bundle.js?8f98:4709)
at HTMLDivElement.fireCallBack (dom7.module.js?4419:467)
at HTMLDivElement.handleEvent (dom7.module.js?4419:333)

Setup: FW2, Vue

Navbar html:
<f7-navbar :back-link="$t(gsBack)">
<f7-nav-title v-html="$t(gsPagetitle)"></f7-nav-title>
<f7-nav-right>
<f7-link href="/settings/" data-view=".view-settings" class=“link popup-open”
data-popup=".popup-settings">
<svgicon icon=“cog”></svgicon>
</f7-link>
</f7-nav-right>
</f7-navbar>

there is no code from my side handling the back route, i relied on FW7, yet it ends up in this error.
how to get rid of that error?

1 Like