Skip to content

Navigation stack isn't kept when navigating to a nested route #849

@joaovirgilicw

Description

@joaovirgilicw

Describe the bug
When navigating to a nested route the stack isn't kept.

To Reproduce
Imagine that I have three modules: Home, Settings, and EditProfile.
Home has a module route ('/settings/') for Settings
Settings has a module route ('/edit_profile/') for EditProfile

Home -> Settings -> EditProfile

If, in Home I call Module.to.pushNamed('/settings/edit_profile') it correctly opens the EditProfile module, but it go back to the Home module when I pop it.

Screenshot 2023-06-05 at 19 40 01
Here you can see that when popping EditProfile, it pops Settings aswell.

Expected behavior
Keep the navigation stack. When poppig EditProfile, it should back to Settings isntead of Home

Screenshots

Screen.Recording.2023-06-05.at.20.03.55.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew issue request attention

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions