[Bug]: Issue when nested navigator due to popover not support pass rootNavigator when show
Opened this issue · 0 comments
HadesPTIT commented
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
return Navigator.of(context, rootNavigator: true).push(
RawDialogRoute(
pageBuilder: (_, animation, __) {
return PopScope();
}
Expected Behavior
Support pass rootNavigator to show method:
showPopover(context: context, rootNavigator: rootNavigator,...)
return Navigator.of(context, rootNavigator: rootNavigator).push(
RawDialogRoute(
pageBuilder: (_, animation, __) {
return PopScope()
);
What operating system are you seeing the problem on?
iOS, Android
Relevant log output
No response
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct