Skip to content

Conversation

@dkwingsmt
Copy link
Contributor

This PR relands #155539 while fixing the bug it contains using the method proposed in #161437.

A 2nd test is added to avoid the regression in #161437.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Jan 24, 2025
@dkwingsmt
Copy link
Contributor Author

cc @bleroux

Copy link
Contributor

@bleroux bleroux left a comment

Choose a reason for hiding this comment

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

LGTM!

Thanks for the follow up.
In the future it will be interesting to give the option to choose if the root overlay should be use or not. From #161437 (comment), David is already planning to implement this.

@dkwingsmt
Copy link
Contributor Author

@bleroux You're right! And this is actually implemented by #158255 already! I'm closing this.

@dkwingsmt dkwingsmt closed this Jan 24, 2025
@dkwingsmt dkwingsmt deleted the reland-155539 branch January 24, 2025 19:56
auto-submit bot pushed a commit that referenced this pull request Jan 28, 2025
…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)
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.

2 participants