-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 keyboard flicker and input overlap in SignInPage #17445
Fix keyboard flicker and input overlap in SignInPage #17445
Conversation
@roryabraham @Santhosh-Sellavel One of you needs to 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] |
@hellohublot I see 6 out of 5 commits say fix lint, it's better to fix them all in one commit and avoid unnecessary commits. Also you can check lint |
Can you update the title meaningfully & avoid spelling mistakes? |
18ade24
to
67f7d54
Compare
@Santhosh-Sellavel Thank you very much. Every time I run 'npm run lint', it gives an error of excessive memory usage. Therefore, I sometimes use the GitHub lint. I will do my best to resolve this issue. I have merged all the lint commits and also modified the PR title |
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.
Can you also update the test steps covering everything i.e every case? Also, Don't repeat the same steps in two sections. Please leave a comment saying the same as the other.
Also please resolve conflicts, thanks!
@hellohublot Looks like there are merge conflicts to resolve here. |
3c6ee9c
to
862c618
Compare
@Santhosh-Sellavel Thanks, everything has been edited |
aa0cc22
to
aa52949
Compare
aa52949
to
097807d
Compare
@hellohublot Please avoid force-pushing the review history is kind of messed up here |
Sign-in Details not cleared Screen.Recording.2023-04-21.at.3.37.28.AM.movBut seem this is occurring in production too, behaviour change is occurring from this PR |
@roryabraham Can we hold this PR till the above Regression is handled, because this PR is dependent on the changes made there? I've left a comment here on the PR #17119 (comment) and an issue as well. |
Sorry, I'm not following ... can someone explain how this PR is related to #16052 ? |
It was about this change, more details on why #16357 (comment)
|
We are waiting for this #17812 |
Got that PR updated and ready for re-view |
Reviewer Checklist
Screenshots/VideosWeb & DesktopScreen.Recording.2023-05-07.at.11.12.42.PM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-05-07.at.11.17.10.PM.moviOS & AndroidScreen.Recording.2023-05-07.at.11.14.18.PM.mov |
@hellohublot Can you pull changes from the latest main and update the test steps and screen records here as there have been some changes recently? thanks! |
@Santhosh-Sellavel Thanks, updated |
I've run into a weird issue while testing. Unable to focus the login input after performing few steps, this happens on the main & staging as well so reported on slack here Screen_Recording_20230507_234916_New.Expensify.mp4 |
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.
LGTM tests well!
Found this one while testing. But happens on the main as well.
Refer this #17445 (comment)
All yours @roryabraham!
@hellohublot We have conflicts here, please resolve! |
@Santhosh-Sellavel Thanks, done and tested again |
bump @roryabraham! |
✋ 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/roryabraham in version: 1.3.14-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.14-14 🚀
|
scrollViewRef.current.scrollTo({y: 0, animated}); | ||
}; | ||
|
||
useEffect(scrollPageToTop, [props.welcomeHeader, props.welcomeText]); |
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.
This caused an issue where changing the language also caused the page to scroll. #21504
Details
This PR fixes the problem that after clicking [
Create A New Account
,Log In
,Go Back
,Back
,Forget
], the native keyboard will flash or the input is coveredThis PR adds thenull value judgment
ofHoverable.onBlur.wrapperView
, it also work fine in #14507Fixed Issues
$ #16357
$ #16357 (comment)
Tests
Case 1:
Continue
Create A New Account
Case 2:
Continue
Go back
Offline tests
QA Steps
Same as the other
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
_web.mov
Mobile Web - Chrome
_mobile_chrome.mp4
Mobile Web - Safari
_mobile_safari.mp4
Desktop
_desktop.mov
iOS
_ios.mp4
Android
_android.mp4