Skip to content

Fix dropdown menu keyboard navigation - #147285

Closed
PurplePolyhedron wants to merge 7 commits into
flutter:masterfrom
PurplePolyhedron:dropdown_menu_keyboard_navigation
Closed

PurplePolyhedron wants to merge 7 commits into
flutter:masterfrom
PurplePolyhedron:dropdown_menu_keyboard_navigation

Conversation

@PurplePolyhedron

@PurplePolyhedron PurplePolyhedron commented Apr 24, 2024 •

Copy link
Copy Markdown
Contributor

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. p: material_ui material_ui package in flutter/packages labels Apr 24, 2024
@PurplePolyhedron PurplePolyhedron changed the title Dropdown menu keyboard navigation Fix dropdown menu keyboard navigation Apr 24, 2024

@bleroux bleroux left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread packages/flutter/test/material/dropdown_menu_test.dart Outdated
Comment thread packages/flutter/test/material/dropdown_menu_test.dart Outdated
Comment thread packages/flutter/test/material/dropdown_menu_test.dart Outdated
@bleroux
bleroux requested a review from QuncCccccc April 24, 2024 07:45
Comment thread packages/flutter/test/material/dropdown_menu_test.dart Outdated
@PurplePolyhedron

PurplePolyhedron commented Apr 24, 2024 •

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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.
chunhtai pushed a commit to chunhtai/packages that referenced this pull request Jun 12, 2026
Fix flutter/flutter#147253
Fix flutter/flutter#147516

Resubmitted flutter/flutter#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

framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DropdownMenu keyboard navigation is broken

2 participants