Fix pressing back button doesn't close the validate code modal when keyboard is shown#53435
Conversation
|
@thesahindia Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-04.at.10.35.01.PM.movAndroid: mWeb ChromeScreen.Recording.2024-12-04.at.10.42.52.PM.moviOS: NativeScreen.Recording.2024-12-05.at.12.10.35.AM.moviOS: mWeb SafariScreen.Recording.2024-12-05.at.12.09.30.AM.movMacOS: Chrome / SafariScreen.Recording.2024-12-04.at.10.20.42.PM.movMacOS: DesktopScreen.Recording.2024-12-04.at.10.59.23.PM.mov |
thesahindia
left a comment
There was a problem hiding this comment.
Looks good to me!
@bernhardoj, please add the explanation at the top.
|
Done |
The merge-base changed after approval.
The merge-base changed after approval.
@bernhardoj what's going on here? |
|
I don't know what's going on. Looks like something automatically happened. Maybe I should merge with main first. |
|
@danieldoglas please try again |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/danieldoglas in version: 9.0.74-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.74-8 🚀
|
Explanation of Change
By default, pressing on a component inside a scroll view will dismiss the keyboard first, but we want to change it so that it executes the pressable press callback instead by either changing the
keyboardShouldPersistTapstohandledor putting the component outside the scroll view.Fixed Issues
$ #52959
PROPOSAL: #52959 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: use an unvalidated account
BA page:
2FA:
Copilot:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
android.mp4
android.2fa.mp4
android.ba.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4