Skip to content

Warn when navigating to named route with a default child (through alias instead of path) #1829

Open
@piotar

Description

@piotar

Version

3.0.1

Reproduction link

http://jsfiddle.net/w6q9uyro/

Steps to reproduce

Run this link: http://jsfiddle.net/w6q9uyro/
Try route to /home

What is expected?

It should load component Home and run HomeFirstChild component because children route alias is empty ('' default route).

What is actually happening?

It only load Home component and nothing more.


This problem is shown in version 2.8.x 3.0.x.

In version 2.7.0 work in first time route but if we want route more than one the router doesn't want work properly

version 3.0.1: http://jsfiddle.net/w6q9uyro/

version 2.7.0: http://jsfiddle.net/mx3a6vLj/

Workaround

Add redirect in parent route:
http://jsfiddle.net/zy0db0wx/

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed on 4.xThis issue has been already fixed on the v4 but exists in v3improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions