-
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 - magic input loses focus when clicked on didn't receive magic code #22265
Fix - magic input loses focus when clicked on didn't receive magic code #22265
Conversation
@narefyev91 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] |
@rushatgabhane will you be able to handle the reviewer checklist here? |
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.
Thanks for the fix! This change looks good to me. Can we also test entering an invalid magic code and that the first cell is not focused in green. To make sure the original issue that was fixed is still working as expected.
@MariaHCD I have tested and the original issue that was fixed is still working as expected. Should I update the screen casts so that they show the original issues fix in addition to showing the fix for this one? |
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.
Thanks for the quick fix.
That's fine, as long as you tested it, we're good to go! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-05.at.5.38.58.PM.movDesktopScreen.Recording.2023-07-05.at.5.39.55.PM.mov |
I'm having trouble with my local mobile builds, trying a prod build: https://github.com/Expensify/App/actions/runs/5465151697 |
sorry, i was out. thanks for taking care of this! |
Checked off Android mWeb, iOS native, and iOS mWeb. Will test Android native once the build completes... |
Build actually in progress this time 🤞 |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
Okay! Checklist complete, I'm about to CP |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…when-clicked-on-Didn't-receive-magic-code Fix - magic input loses focus when clicked on didn't receive magic code (cherry picked from commit 8989aa0)
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.36-5 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.36-5 🚀
|
Details
Prevent input from losing focus when clicked on
Didn't receive magic code?
option.Fixed Issues
$ #22258
PROPOSAL: #22258 (comment)
Tests
Request magic code in
timer to finish and click onDidn't receive magic code?
option.Offline tests
Not applicable since connection is required.
QA Steps
Same as
Tests
Section.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
MagicInputBlurWeb.mov
Mobile Web - Chrome
mwebChromeMagicCode.mov
Mobile Web - Safari
safariMagicCode.mov
Desktop
DesktopMagicCode.mov
iOS
iOS.mov
Android
androidNativeBlur.mov