Route change doesn't destroy the popup

In Vue + Vue Router, if we change the route, the component will be destroyed, and the popup or other components will be destroyed too.

Problem: the framework7 popup wont close after user navigate back.

Посмотрите пример в kitchen, router.back() закрывает popup

The user navigate back by using browser back button., not router api.

@shastox

Вам нужен push state:
https://framework7.io/docs/view.html

@shastox

One solution is call this.$f7?.popup.close('.popup') in beforeDestroy.