-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Revert: Fix DropdownMenu rendered behind AppBar #159907
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
Conversation
gspencergoog
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.
|
Now the menu position is not calculated correctly. Since final RenderBox overlay = Overlay.of(
anchorContext,
rootOverlay: true // NEED ADD THIS
).context.findRenderObject()! as RenderBox;
How reproduce: create a nested navigator with a height less than the screen height and put DropdownMenu there |
|
Failed to create CP due to merge conflicts. |
Reverts flutter#155539. The PR was found to have caused regression
…162132) Impacted Users: App developers who use `MenuAnchor` to build widgets. Impact Description: DropdownMenu's menuChildren might be placed somewhere far from menuAnchor. #159906 and #161437 Workaround: Not known Risk: Low. This CP reverts a PR, which is by itself a incorrect bug fix. Test Coverage: An additional test is added besides the revert, which is the same test used in the reland #162143. Validation Steps: #161437 (comment)


Reverts #155539.
The PR was found to have caused regression #159906.