-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix keyboard flicker and input overlap in SignInPage #17445
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
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? |
|
@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 |
Santhosh-Sellavel
left a comment
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. |
|
@Santhosh-Sellavel Thanks, everything has been edited |
|
@hellohublot Please avoid force-pushing the review history is kind of messed up here |
|
@Santhosh-Sellavel Thanks, I will try to avoid it, sometimes after I push a |
|
Ensure to run the lint check before committing changes as I said here. Refer to our guidelines clealy states the avoid force-push. |
|
@Santhosh-Sellavel Thanks, I'll try to run Lint locally |
|
@Santhosh-Sellavel Thanks, I have removed the If the console error fail the QA test (but another PR has passed), we can add the empty judgment back |
|
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 |
Santhosh-Sellavel
left a comment
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 judgmentofHoverable.onBlur.wrapperView, it also work fine in #14507Fixed Issues
$ #16357
$ #16357 (comment)
Tests
Case 1:
ContinueCreate A New AccountCase 2:
ContinueGo backOffline tests
QA Steps
Same as the other
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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