-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcustomer: chalk (g3)f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
b/305662376
Customer reports the current highlight of their DropdownMenu is not correct.
I have not been able to reproduce this in an independent code sample, but the customer code and a video of the bug is available in the internal bug listed above.
Steps:
- DropdownMenu has initial index of 0.
- Customer opens menu, selects index 2, menu closes.
- Customer opens menu, index 1 is highlighted.
@QuncCccccc do you have any thoughts on this? It looks like currentHighlight is incorrect.
I think this could be the way we choose the currentHighlight based on filtering. The customer case has 3 items in the menu, in this order
- All
- Unread
- Read
The bug presents itself when Read is selected and the menu is reopened, and Unread is highlighted instead. At this point Read is in the text field of the menu, so we could be highlighting the first match to the String read. Maybe?
kirpit
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcustomer: chalk (g3)f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team