Skip to content

AppBar canPop with RouterOutlet and Modular.to.pushNamed #784

@og1-alarm

Description

@og1-alarm

Describe the bug
AppBar doesn't display back button when Modular.to.pushNamed is used inside RouterOutlet.

To Reproduce
Set AppBar and body as RouterOutlet.
Navigate using Modular.to.pushNamed inside inner module.
It will not display the back button.

Expected behavior
It should display the back button.
I am able to get the back button if I set the Scaffold inside the inner module.

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