Open VaiTon opened 2 years ago
The reason behind that is the "go back to the top" FAB that appears when you're not on the top anymore; there are two modes:
Should we keep just mode 2, making the "top" FAB either invisible or deactivated when relevant?
What about keeping them both and having the "raking" FAB animate to that position instead of jumping?
@VaiTon If you want to talk about "animation" you should talk with someone else (unless you want to talk about movies) (but not a big fan of animations in flutter).
That said, the stuttering effect is problematic. If I refine my latest suggestion, we could have both buttons always there (no jump, then), with the "go to top" button being activated/deactivated progressively - does that count as an animation?
@monsieurtanuki what about leaving the ranking button always on the left ? And leave the "top" button as it is?
what about leaving the ranking button always on the left ? And leave the "top" button as it is?
@VaiTon Then the "ranking" button will shrink when the "top" button appears. Besides, the main button is the "ranking" button - does that make sense to put the main button on the left, I don't know.
Additional thought: that's a bit weird to have a different "go to ranking page" behavior between product list pages (like "History") and query product list page (like "nutella"). Shouldn't we use the same mechanism, and in both cases use:
What
Steps to reproduce the behavior
Expected behavior
The transition should be animated. Otherwise the button should remain in the same position. Maybe move it to the left?
Why
Screenshot/Mockup/Before-After
https://user-images.githubusercontent.com/12072630/172057612-4b368640-d3ca-4c98-8fe2-c9a471750bc9.mp4