-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Reland: "Add example and troubleshooting comment for showSnackBar"
#105195
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
Reland: "Add example and troubleshooting comment for showSnackBar"
#105195
Conversation
Piinks
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - but do not land this, checking the affected customer tests first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| final bool snackBarVisible = (snackBarYOffsetBase - snackBarSize.height) > 0; | |
| final bool snackBarVisible = (snackBarYOffsetBase - snackBarSize.height) >= 0; |
Should this be >= ? Wouldn't a position at the top edge be valid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I pushed a fix and updated the related test to check several SnackBar positions (fully offscreen, partially offscreen, right on the top). Thanks!.
29ff0ea to
be616e6
Compare
Piinks
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @bleroux can you update this branch with the latest from master? There was a big braking change I was helping @TahaTesser get in first. I think we can move this forward now once it is updated.
I appreciate your patience. I try to migrate customers for one change at a time to keep it sane and organized. :)
be616e6 to
a1e07f8
Compare
|
Hey @Piinks! I have rebased the PR, it seems to be ok.
I really appreciate your reviews too! You do such a great job: working on your own PRs, reviewing relentlessly other contributors' PRs, addressing customers migration and also participating in many Flutter team great videos! 💙 |
|
Thanks very much! I am running against internal tests now. |
|
Thanks for your patience! All of the customers are fixed. 🎉 |
Description
Reland #102073, which was reverted in #104843
Related issues
Fixes #84263