-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The last refresh snackbar is hiding the Personal Search button for a few seconds #1309
Comments
Why don't we automatically trigger the refresh (while still showing the cached results in the mean time) instead of showing a message? |
@teolemon I guess that a floating action button is supposed to work correctly with a snackbar, so using a FAB would be the solution. @stephanegigandet This is not my cup of tea to systematically refresh data as I live in the energy save mode (apps and IRW). But that's not the first time we talk (and disagree) about that, so let's go forward!
We could imagine displaying the database data while downloading fresher data. My questions are:
|
@monsieurtanuki All very good questions indeed. I can't think of very good answers for them, so let's keep the current behaviour. |
Let's focus on the OP: a floating action button that unfortunately doesn't move when there's a snackbar (in Probable reasons:
|
I've run some tests, and what I've found is that the problem probably lies in the multi-tabs system, where there is one main From https://stackoverflow.com/questions/60561552/multiple-scaffolds-for-each-page-inside-a-flutter-app:
I don't remember who coded the tabs navigation (maybe @M123-dev), but it looks like there is this side-effect regarding the SnackBar / FloatingActionButton interaction. |
That said, I've just found a fix for the snackbar / FAB interaction. About to PR... |
Impacted file: * `product_query_page.dart`
Impacted file: * `product_query_page.dart`
What
Part of
Screenshot/Mockup/Before-After
The text was updated successfully, but these errors were encountered: