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 ArrowKeyFocusManager for lists with only two options #9682

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

roryabraham
Copy link
Contributor

Details

Fixes the ArrowKeyFocusManager for any list with only two options.

Fixed Issues

$ #9678

Tests / QA Steps

  1. Open the search page, new group page, IOU currency selector, or any other page that uses an OptionSelector
  2. Edit the search query such that there's only two options in the list.
  3. Verify that the arrow keys work as expected to highlight options.
  • Verify that no errors appear in the JS console

@roryabraham roryabraham requested a review from a team as a code owner July 1, 2022 23:18
@roryabraham roryabraham self-assigned this Jul 1, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2022

⚠️ ⚠️ Heads up! This pull request has the CP Staging label. ⚠️ ⚠️
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

@melvin-bot melvin-bot bot requested review from amyevans and removed request for a team July 1, 2022 23:18
@roryabraham
Copy link
Contributor Author

Added the CP Staging label because this fixes a bug introduced in the current staging release.

@amyevans amyevans merged commit 5ad8542 into main Jul 5, 2022
@amyevans amyevans deleted the Rory-FixArrowNavigatorWithTwoOptions branch July 5, 2022 15:53
OSBotify pushed a commit that referenced this pull request Jul 5, 2022
…Options

Fix ArrowKeyFocusManager for lists with only two options

(cherry picked from commit 5ad8542)
OSBotify added a commit that referenced this pull request Jul 5, 2022
@OSBotify
Copy link
Contributor

OSBotify commented Jul 8, 2022

🚀 Deployed to production by @roryabraham in version: 1.1.79-17 🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants