Skip to content

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

Merged
fluttergithubbot merged 2 commits into
flutter:masterfrom
xu-baolin:0520flutter
May 20, 2021
Merged

Re-add the removed MediaQuery.removePadding of PopupMenuButton#82986
fluttergithubbot merged 2 commits into
flutter:masterfrom
xu-baolin:0520flutter

Conversation

@xu-baolin

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

Copy link
Copy Markdown
Member

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

@Piinks Piinks left a comment

Copy link
Copy Markdown
Contributor

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