Skip to content

V2 router not able to navigate/back after navigated to a page with async second time #2200

@robinyip

Description

@robinyip

This is a (multiple allowed):

  • bug

  • enhancement

  • feature-discussion (RFC)

  • Framework7 Version: 2.0.7

  • Platform and Target: all

What you did

routes: [
{
path: '/page',
async: function( routeTo, routeFrom, resolve, reject){
.................
}
{
]
view.router.navigate( '/page'); <--- first load
view.router.navigate( '/page'); <--- second load
after second load, you can't back or navigate to any page without async()

Expected Behavior

Should be able to navigate/back

Actual Behavior

Back or navigate to any page without async() will be failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions