Skip to content

setupListeners not invoke if user customer route guard not invoke next parameter function #3810

@workkk98

Description

@workkk98

Version

3.6.5

Reproduction link

stackblitz.com

Steps to reproduce

  1. location bar enter "xxx/about" url.
  2. click root link
  3. click foo link
  4. click browser navigation back button.

What is expected?

"root" page should be render.
vue-router handleRoutingEvent function should be invoked, but not.

What is actually happening?

page content not changed.


I know this case because "/abount" beforeEnter guard isn't correct. But I think vue-router listen popstate Should not be affected by user code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions