-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[CP Staging] Fix autofocus on Sign In page #43752
[CP Staging] Fix autofocus on Sign In page #43752
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-06-14_13.53.39.mp4Android: mWeb Chromeandroid-chrome-2024-06-14_14.06.02.mp4iOS: Nativeios-app-2024-06-14_13.44.46.mp4iOS: mWeb Safariios-safari-2024-06-14_13.49.26.mp4MacOS: Chrome / Safaridesktop-chrome-2024-06-14_13.38.49.mp4MacOS: Desktopdesktop-app-2024-06-14_13.42.35.mp4 |
@jnowakow Could you add a space between |
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.
Tests well & LGTM!
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.
Going to CP this to staging
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…gn-in [CP Staging] Fix autofocus on Sign In page (cherry picked from commit 9912ae8)
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.83-2 🚀
@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.83-3 🚀
|
@@ -268,6 +268,7 @@ function BaseLoginForm({account, credentials, closeAccount, blurOnSubmit = false | |||
onSubmitEditing={validateAndSubmitForm} | |||
autoCapitalize="none" | |||
autoCorrect={false} | |||
autoFocus |
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.
Adding autofocus props caused this bug
Details
It fixes regression caused by Focus Trap.
Fixed Issues
$ #43664
PROPOSAL: N/A
Tests
Offline tests
QA Steps
Same as in tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
sign-in-android.mov
Android: mWeb Chrome
sign-in-android-web.mov
iOS: Native
sign-in-ios.mov
iOS: mWeb Safari
sign-in-ios-web.mov
MacOS: Chrome / Safari
sign-in-web-1.mov
sign-in-web-2.mov
MacOS: Desktop
sign-in-desktop.mov