-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Align the Popup Menu under its child #125534
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
Align the Popup Menu under its child #125534
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.
Nice fix. Thanks for the contribution! LGTM:)
offset = Offset( | ||
0.0, | ||
button.size.height, | ||
) + widget.offset; |
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.
nit: maybe we don't have to break line since it is pretty short:)
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.
Sure I did it in refactor: Don't break the line
@ValentinVignal probably we need to rebase master because Google testing is failing:) |
Done :) |
Thank you! Looks like there are some conflicts in packages/flutter/test/material/popup_menu_test.dart file |
…align-under-the-child # Conflicts: # packages/flutter/test/material/popup_menu_test.dart
@QuncCccccc The conflicts are fixed in |
…align-under-the-child
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
Align the
PopupMenu
under its child.Before:
After:
List which issues are fixed by this PR. You must list at least one issue.
Fixes #125474
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.