URL did not update after navigate to main page

I have NavBar with BackLink button which calls f7.views.main.router.navigate(/);
The problem is - it’s kinda redirect to main page (renders MainPage), but URL remains the same.
I mean if I was on /about/, then click BackLink - renders MainPage, but URL is still /about/.
Is It a bug? This code works perfectly on Framework v5, but after migration to v6 I have this problem.

My routes are kinda like in documentation

routes: [
    {
      path: '/',
      component: MainPage,
    },
    {
      path: '/about/',
      component: AboutPage,
    },
    {
      path: '/login/',
      component: LoginPage,
    },
  ]

After few experiments I discovered that

  1. f7.views.main.router.navigate("/") renders MainPage component, but does not change url to "/"
  2. f7.views.main.router.updateCurrentUrl("/") does not change url to “/”. Strange thing is if I use any other url like updateCurrentUrl("/hello/") then it will change url to “/hello/”, but with “/” it does nothing.

So is it a Framework7’s bug?

The question is still relevant. Is it a bug?
I opened the issue on github https://github.com/framework7io/framework7/issues/4004 with live demonstration - gracious-booth-q1xbrf - CodeSandbox

@nolimits4web, I saw you closed issue on github with this problem https://github.com/framework7io/framework7/issues/4004/
So it is not a bug and there are some settings to make it work?

It was closed with a fix

1 Like

@nolimits4web Thank you so much! I did not notice that you have closed issue with reference to commit.
Seems like fix will be available in next version (7.0.2 probably)