Milad-Akarie / auto_route_library

Flutter route generator
MIT License
1.59k stars 406 forks source link

didPop & didPopNext not called #1954

Open gilang-sera opened 5 months ago

gilang-sera commented 5 months ago

Hi, i tried to use didPopNext because i need to refresh my page after popped. but the function is not work!

i already added observer main and using autorouteawarestatemixin

image image

what should i do? is there any steps that i missed it?

lushan1314 commented 4 months ago

same question,version 8.1.3

lushan1314 commented 3 months ago

any updates on this issue?

lushan1314 commented 3 months ago

I noticed that only child routes in nested routing structures fail to respond to this events. For example, in a nested routing setup where route A contains route B, when pushing from route B to route C and then returning, route A’s didPopNext event is triggered, but route B’s didPopNext event does not respond.