Problems: View Init is called repeatedly every time the back button is pressed.
I have three different pages which are:
- Home
- Information → Account
When I go to the “Account” page and press the back button, it should lead to the “Information” page. However, when I press it, it leads to the “Home” page instead.
After I looked for the cause it was sourced in app.f7.html in the following code:
<div class="view view-init view-main ios-edges" data-url="/"></div>
Then for the code in account.f7.html is as follows:
<a href="#" class="link back"><i class="icon f7-icons arrow-back">arrow_left</i></a>
Can someone help me solve this problem? I’ve been struggling for several hours but it hasn’t been resolved at all. All I want is for the back button to not call View Init again when pressed.
The technology I use:
- Framework7 version 7.0.5
- Node version 16.0.2