-
Notifications
You must be signed in to change notification settings - Fork 28.7k
ModalBottomSheetRoute: Remove gap at screen bottom with useSafeArea: true
#122118
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
ModalBottomSheetRoute: Remove gap at screen bottom with useSafeArea: true
#122118
Conversation
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.
Thanks! LGTM.
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
… true` Fixes flutter#121554. With `useSafeArea: true`, the added `SafeArea` now has `bottom: false`, to prevent a gap from appearing between the bottom edge of the sheet and the bottom edge of the screen, across the system intrusion there. The `useSafeArea: false` case still has a bug not addressed here; that's flutter#121752. I plan to submit a separate fix for that.
39e73ee
to
e10cd03
Compare
auto label is removed for flutter/flutter, pr: 122118, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
@Hangyujin Would you take a look at the Google testing failure? This PR was only touching the |
@gnprice The google testing failure is expected and manually approved. |
Excellent. Thanks for your help! |
This gets us flutter/flutter@23b7bbd89 (flutter/flutter#122118), which we'll use to make a nice prototype for the message action sheet, coming soon.
This gets us flutter/flutter@23b7bbd89 (flutter/flutter#122118), which we'll use to make a nice prototype for the message action sheet, coming soon.
… true` (flutter#122118) ModalBottomSheetRoute: Remove gap at screen bottom with `useSafeArea: true`
Fixes #121554.
With
useSafeArea: true
, the addedSafeArea
now hasbottom: false
, to prevent a gap from appearing between the bottom edge of the sheet and the bottom edge of the screen, across the system intrusion there.The
useSafeArea: false
case still has a bug not addressed here; that's #121752. I plan to submit a separate fix for that.Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.