-
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
Fix: Request money - No autofocus blink cursor shown in Request money page #27475
Conversation
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Reviewer Checklist
Screenshots/VideosWebCleanShot.2023-09-18.at.14.29.30.mp4CleanShot.2023-09-18.at.14.30.29.mp4Mobile Web - ChromeCleanShot.2023-09-18.at.15.22.12.mp4Mobile Web - SafariCleanShot.2023-09-18.at.14.52.06.mp4DesktopCleanShot.2023-09-18.at.14.32.55.mp4iOSios.mp4AndroidCleanShot.2023-09-18.at.15.19.06.mp4 |
@Krishna2323 Can we cover this issue as well ? |
@Krishna2323 Can we fix this bug for IOS native ? after switching between tabs , the input loses focus CleanShot.2023-09-18.at.18.13.23.mp4 |
@fedirjh, this will be covered in this PR.
|
@fedirjh, this can't be handled in this PR I think, because it has some different root cause and it does also happen on android. |
@Krishna2323 For android it seems to be fixed with this PR. From this slack thread
Can we try to update the focus logic to align with this suggestion https://expensify.slack.com/archives/C01GTK53T8Q/p1694660990479979 ? I hope that will fixes the issue for IOS. |
@fedirjh, I tried with the provided code but it didn't worked. |
Let's proceed with the fix for safari and android an handle the other bug for IOS separately. |
✋ 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/MariaHCD in version: 1.3.73-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.73-1 🚀
|
🚀 Deployed to staging by https://github.com/MariaHCD in version: 1.3.74-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀
|
Details
Fixed Issues
$ #26994
PROPOSAL: #26994 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
desktop_safari_demo.mp4
desktop_chrome_pr_demo.mp4
Mobile Web - Chrome
android_chrome_pr_demo.mp4
Mobile Web - Safari
ios_safari_pr_demo.mp4
Desktop
desktop_app_demo.mp4
iOS
ios_pr_demo.mp4
Android
android_pr_demo.mp4