modular icon indicating copy to clipboard operation
modular copied to clipboard

Modular.to.pop doesn't work with RouterOutlet

Open 3ph opened this issue 3 months ago • 0 comments

When using RouterOutlet Modular.to.pop() doesn't work as expected. After a new page is pushed within the outlet, pop will cause popping (I assume) root navigator to black page rather than the page within the outlet. Navigator.of(context).pop() works correctly in this case and pops the page within the outlet.

Same issue was reported here https://github.com/Flutterando/modular/issues/415 but closed without resolution.

3ph avatar Oct 02 '25 11:10 3ph