-
Notifications
You must be signed in to change notification settings - Fork 3k
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 pressing back button doesn't close the validate code modal when keyboard is shown #53435
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
keyboardShouldPersistTaps
tohandled
or 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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