modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

Conflict with qlevar_router

Open westlinkin opened this issue 1 year ago • 2 comments

When I use qlevar_router showCupertinoModalBottomSheet shows a bottomSheet, then click the back button on the Android device, it clears the bottomSheet and pops back to previous screen (or exit the app if it is the root screen)

If I use Navigator.of(context).push(Route) to navigate to another screen, the back button works fine (pops out the bottomSheet only, do not pops to previous screen together). But If I use QR.to(screen_path), it doesn't work. (both pops the bottomSheet and pops to previous screen)

I found out it use Navigator.of(context).push(Route) to show the bottomSheet, but when using qlevar_router, the navigation seems a little broken.

westlinkin avatar Feb 03 '23 03:02 westlinkin