-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
[DropdownButton] Fix highlight behavior #94605
Comments
Dropdown
request when tapping, it effects DropdownButtonFormField
DropdownButtonFormField
, dropdown
stays highlighted
Ideally it would support |
Highlight is working as intended as it seems, it should stay highlighted, see The main issue is the highlight is not smooth or persistent |
DropdownButtonFormField
, dropdown
stays highlighted
Looks like focus moves away whenever there is new route (here when popup shows up in a route) flutter/packages/flutter/lib/src/material/dropdown.dart Lines 1312 to 1317 in 1c673b2
I think it is core framework issue than this widget I don't think this is a regression since this behavior can be observed before the dropdowbutton PR landed |
This issue is missing a priority label. Please set a priority label when adding the |
DropdownButtonFormField highlights and unhighlight quickly when tapping
Expected behavior
Widget should be once and should stay highlighted until focus is moved to another widget
minimal code sample
Also address #93716 (comment)
The text was updated successfully, but these errors were encountered: