Fix can't use right and left arrow key when a mention suggestion is shown#38383
Merged
tgolen merged 4 commits intoExpensify:mainfrom Mar 25, 2024
Merged
Conversation
Contributor
Author
|
Here is an additional video to show that the arrow navigation still works fine on the emoji picker. Screen.Recording.2024-03-15.at.18.11.41.1.mov |
Contributor
|
I'll review it soon. |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: Native0-android.mp4Android: mWeb Chrome0-mobile-chrome.mp4iOS: Native0-ios.mp4iOS: mWeb Safari0-mobile-safari.mp4MacOS: Chrome / Safari0-web.mp4MacOS: Desktop0-desktop.mp4 |
Contributor
|
@bernhardoj Friendly bump. Looks good and tested well, just a minor comment. |
Contributor
Author
|
I don't see any comment |
eh2077
suggested changes
Mar 19, 2024
| itemsPerRow, | ||
| disableCyclicTraversal = false, | ||
| disableHorizontalKeys = false, | ||
| allowHorizontalArrowKeys = false, |
Contributor
There was a problem hiding this comment.
Please update the comment of @param tag as well.
Contributor
Sorry my bad, forgot to submit the comment. |
Contributor
Author
|
Updated |
tgolen
approved these changes
Mar 25, 2024
Contributor
|
👋 per this issue, could you please update the highlighting to match emojis? Screen.Recording.2024-03-27.at.11.47.04.PM.mp4 |
6 tasks
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
The arrow key is captured by a keyboard shortcut. This PR disables it by default and only enable it when needed.
Fixed Issues
$ #38076
PROPOSAL: #38076 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-03-15.at.18.10.07.mov
Android: mWeb Chrome
Screen.Recording.2024-03-15.at.18.11.13.mov
iOS: Native
Screen.Recording.2024-03-15.at.18.09.42.mov
iOS: mWeb Safari
Screen.Recording.2024-03-15.at.18.09.04.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-15.at.18.07.42.mov
MacOS: Desktop
Screen.Recording.2024-03-15.at.18.08.20.mov