[CP Staging] Fix: Search - Nothing happens when hitting Enter key on the selected user#33667
[CP Staging] Fix: Search - Nothing happens when hitting Enter key on the selected user#33667Beamanator merged 2 commits intoExpensify:mainfrom
Conversation
|
Please also test #32388 |
Yes, tested. Screen.Recording.2023-12-28.at.02.30.52.mov |
|
Let's apply same fix to SelectionList and test any page which uses it |
Done. Screen.Recording.2023-12-28.at.02.57.12.mov |
|
Lastly, can you also test #31635 which introduced testID in SelectionList? |
Yes, I tested it. Shared video does not clearly point to that part but I will update the video. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Fix: Search - Nothing happens when hitting Enter key on the selected user (cherry picked from commit f8d5cd4)
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 1.4.18-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.18-8 🚀
|
Details
#33654
Fixed Issues
$ #33654
PROPOSAL: #33654 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Screen.Recording.2023-12-28.at.02.19.36.mov
Mobile Web - Chrome
ab2.webm
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-12-28.at.02.27.16.mp4
Desktop
Screen.Recording.2023-12-28.at.02.28.50.mov
iOS
Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-12-28.at.02.24.42.mp4
Android
ab1.webm