Skip to content

beforeRouteEnter callbacks trigger in opposite order for nested routes #2761

Closed
@posva

Description

@posva

Version

3.0.3

Reproduction link

https://jsfiddle.net/posva/jr8wgc4u/

Steps to reproduce

  • click on the last link /foo/a/d/c
  • check logs

What is expected?

beforeEnter order to be the same as beforeRouteEnter, from parent to child: Foo, NestedOne, NestedTwo

What is actually happening?

The order in beforeRouteEnter is backwards


I should also check if the same happens outside of the callback

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