Skip to content
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

Fix dropdown menu keyboard navigation #147285

Conversation

PurplePolyhedron
Copy link
Contributor

@PurplePolyhedron PurplePolyhedron commented Apr 24, 2024

Fix #147253
I use exact match of label instead of contains to minimise possible change in actual user search.
I added the new test after the original keyboard navigation test to avoid merge conflict with another incoming PR.
Let me know if I need to make any changes.

Move to #147294 because I accidentally added reviewer as contributor in a commit by using Github "add suggestion to batch". Which causing CLA check to fail and it cannot be reverted.

Pre-launch Checklist

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Apr 24, 2024
@PurplePolyhedron PurplePolyhedron changed the title Dropdown menu keyboard navigation Fix dropdown menu keyboard navigation Apr 24, 2024
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.

Thanks for working on this!

I spotted some minor indentation issues.
cc @QuncCccccc who has a great knowledge of this widget.

packages/flutter/test/material/dropdown_menu_test.dart Outdated Show resolved Hide resolved
packages/flutter/test/material/dropdown_menu_test.dart Outdated Show resolved Hide resolved
packages/flutter/test/material/dropdown_menu_test.dart Outdated Show resolved Hide resolved
@bleroux bleroux requested a review from QuncCccccc April 24, 2024 07:45
@PurplePolyhedron
Copy link
Contributor Author

PurplePolyhedron commented Apr 24, 2024

I didn't know using the "add suggestion to batch" on Github would break the CLA check. Do I need to close this PR and create a new one?

@PurplePolyhedron
Copy link
Contributor Author

I will close this PR and move to #147294 because CLA breaks are difficult to fix

auto-submit bot pushed a commit that referenced this pull request May 10, 2024
Fix #147253
Fix #147516

Resubmitted #147285 because I accidentally added reviewer as contributor in a commit by using Github "add suggestion to batch". Which causing CLA check to fail and I cannot revert it.

I use exact match of label instead of contains to minimise possible change in actual user search.
I added the new test after the original keyboard navigation test to avoid merge conflict with another incoming PR.
Let me know if I need to make any changes.

Sorry for the inconvenience, I am new to the process.
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.

DropdownMenu keyboard navigation is broken
2 participants