这是indexloc提供的服务,不要输入任何密码
Skip to content

Re-add the removed MediaQuery.removePadding of PopupMenuButton #82986

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

Merged
merged 2 commits into from
May 20, 2021

Conversation

xu-baolin
Copy link
Member

@xu-baolin xu-baolin commented May 20, 2021

Two changes:
1, Re-add the MediaQuery.removePadding wrapping deleting by #64678 (Actually, the SafeArea will remove the padding too.)
2, Calculate all the unsafe area paddings when layout the menu.

Fixes #82874

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels May 20, 2021
@google-cla google-cla bot added the cla: yes label May 20, 2021
@xu-baolin xu-baolin requested a review from Piinks May 20, 2021 05:10
Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the quick fix!!

@fluttergithubbot fluttergithubbot merged commit 43d22ae into flutter:master May 20, 2021
christopherfujino added a commit that referenced this pull request Jun 11, 2021
* [flutter_tools] throw a tool exit if pub cannot be run (#83293)
* Re-add the removed MediaQuery.removePadding of PopupMenuButton (#82986)
* import pkg:intl when DateFormat or NumberFormat is used (#83122)

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: xubaolin <xubaolin@oppo.com>
Co-authored-by: Michael Goderbauer <goderbauer@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PopupMenuButton is broken after upgrade to Flutter 2.2.0
3 participants