Open flodaniel opened 2 years ago
Hi there 👋🏼 May you please provide a repo so we can better help debug this?
Hi, sorry for my late reply. It seems to be in relation to the package https://pub.dev/packages/material_floating_search_bar. I recreated my problem and used the flow_builder example as a template: https://github.com/flodaniel/flow_builder_searchbar_bug
If you navigate to the location flow, and try to swipe back on iOS you will see that it is not working. The back button is working.
Removing the FloatingSearchBar
on line 43 fixes the issue.
I am unsure now if this is maybe an issue with the material_floating_search_bar package, but I don't think so.
Edit: I am currently having trouble reproducing the issue in the linked repo after fixing an unrelated layout bug. I will report back once I can, or find the issue. Thanks!
I updated the repository, which is now reproducing the bug when trying to swipe back from the State screen to the Country bug. After further investigation I am completely confused why it is not working, but I suspect a specific implementation by the FloatingSearchBar
.
Describe the bug When using the following pages, where the user starts on the
overview
page, and then navigates to thesearchOnMap
page, using the ios swipe back feature, does not correctly return back to theoverview
page, but to the original route that brought the application to theFlowBuilder
, which is using this list of pages.To Reproduce Steps to reproduce the behavior:
Expected behavior FlowBuilder correctly overrides navigation stack to make iOS swipe back feature work.
Logs Paste the output of running
flutter doctor -v
here.