bug modular.to.pop()
using modular.to.pop() after modular.to.pushNamed inside router outlet cause page blank, but when using navigator.of(context).pop() it run normally
on flutter web, if we press browser back button, navigation stack pop multiple times and causes the binding on current module not found
I'm experiencing this behavior using Modular.to.popUntil(). When I call it i got an exception Exception: Bad state: Future already completed
I think this issue #319 could help, @komangnopha
@ricardogobbo are you using router outlet ? in my case when im using router outlet, after pushing navigation with modular.to.pushNamed and go back with modular.to.pop, the page is blank. but when im go back after pushNamed using navigator.of(context).pop, it clear navigation normally (not blank)
My problem is when using Modular.to.navigate, On the next page when I click on Modular.to.pop(), the page is blank
The Navigate works similar to PushAndReplatement, so they will always replace the route, this is normally used to routeOutlets and Web navigations, but we can apply pop :C
The Navigate works similar to PushAndReplatement, so they will always replace the route, this is normally used to routeOutlets and Web navigations, but we can apply pop :C
it means when we using navigate inside router outlet, and then modular.to.pop, router outlet itself also removed and caused page blank ?
have same problem
@AlvaroVasconcelos can u give a sample?
Has there been any development done on this? It's currently blocking me, and will result in me having to rip out Modular :/
I need the ability to maintain navigation stacks within RouterOutlets, using push and pop.
Same issue as previously stated. We use Modular.to.navigate("some_route") throughout our app but Modular.to.pop() behaviour seems broken. Any thoughts?
Facing the same issue here in 2023. Anyone was able to resolve this?
Hi @FregosoRd, see if this example can help you: https://gist.github.com/eduardoflorence/4d33da7bdb262ef349641fcfac9e10ca