Commit 773b42f
authored
Do not rely on Leader/Follower to position DropdownMenu menu (#158930)
## Description
This PR removes `DropdownMenu` usage of Leader/Follower.
Leader/Follower positioning was introduced in
flutter/flutter#154667 which uses
Leader/Follower approach to fix some weird positioning issues (such as
flutter/flutter#149037).
Unfortunately, it also introduces some regressions, see:
- flutter/flutter#157916
- flutter/flutter#158924
Because flutter/flutter#154667 is already
included in the beta channel, cherry-picking this PR should be
considered.
## Context
This PR is not a full revert and keeps Leader/Follower usage in
`MenuAnchor` because this usage is optional and doesn't cause any
regression.
There are some ongoing work which might fix or mitigate this problem:
- flutter/flutter#157921
- flutter/flutter#158255
## Related Issue
Fixes flutter/flutter#157916
Fixes flutter/flutter#158924
Reopens flutter/flutter#123395
Reopens flutter/flutter#149037
Reopens flutter/flutter#1518561 parent d39c353 commit 773b42f
2 files changed
Lines changed: 0 additions & 42 deletions
File tree
- packages/flutter
- lib/src/material
- test/material
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
906 | 905 | | |
907 | 906 | | |
908 | 907 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3366 | 3366 | | |
3367 | 3367 | | |
3368 | 3368 | | |
3369 | | - | |
3370 | | - | |
3371 | | - | |
3372 | | - | |
3373 | | - | |
3374 | | - | |
3375 | | - | |
3376 | | - | |
3377 | | - | |
3378 | | - | |
3379 | | - | |
3380 | | - | |
3381 | | - | |
3382 | | - | |
3383 | | - | |
3384 | | - | |
3385 | | - | |
3386 | | - | |
3387 | | - | |
3388 | | - | |
3389 | | - | |
3390 | | - | |
3391 | | - | |
3392 | | - | |
3393 | | - | |
3394 | | - | |
3395 | | - | |
3396 | | - | |
3397 | | - | |
3398 | | - | |
3399 | | - | |
3400 | | - | |
3401 | | - | |
3402 | | - | |
3403 | | - | |
3404 | | - | |
3405 | | - | |
3406 | | - | |
3407 | | - | |
3408 | | - | |
3409 | | - | |
3410 | 3369 | | |
3411 | 3370 | | |
3412 | 3371 | | |
| |||
0 commit comments