fix keyboard jump - #21665
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
@joelbettner 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] |
|
@Nodebrute Can you please sign the CLA ? check this comment #21665 (comment) |
|
I have read the CLA Document and I hereby sign the CLA |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-27.at.2.10.08.PM.movMobile Web - ChromeScreen.Recording.2023-06-27.at.2.46.06.PM.movMobile Web - SafariSimulator.Screen.Recording.-.iPhone.14.-.2023-06-27.at.14.19.17.mp4DesktopScreen.Recording.2023-06-27.at.2.50.16.PM.movScreen.Recording.2023-06-27.at.2.50.53.PM.moviOSScreen.Recording.2023-06-27.at.2.15.05.PM.movIos.movAndroidScreen.Recording.2023-06-27.at.2.43.59.PM.movScreen.Recording.2023-06-27.at.2.44.57.PM.mov |
fedirjh
left a comment
There was a problem hiding this comment.
Looks good and tests well
🎀 👀 🎀 C+ reviewed
Beamanator
left a comment
There was a problem hiding this comment.
Looking good, gotta wait for tests to pass
Co-authored-by: Alex Beaman <dabeamanator@gmail.com>
|
FYI @joelbettner i'm removing you as reviewer as I'm assigned to the issue - I guess you got assigned b/c pullerbear assigns engineers when PRs are created or something 🙃 |
Beamanator
left a comment
There was a problem hiding this comment.
Before we merge, just wondering - why do we have to check if isFocused specifically is a function? We check if measureLayout or focus are below, and then we call them if they are functions - but here we're not calling isFocused so I think we should add a comment why we're checking if this specifically is a function or not here
|
Is this comment ok "isFocused method is only present in the TextInput component. We are using this check to dismiss the keyboard for any non-text field" |
|
@fedirjh Can you please have a look at it? What comment should I add? |
@Beamanator We check if the component is a @Nodebrute here is a comment example:
|
|
@fedirjh Thank You. Comment added. |
|
@Beamanator Updated |
Beamanator
left a comment
There was a problem hiding this comment.
Ahaa thanks both of you!! 👍 LGTM
|
✋ 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/Beamanator in version: 1.3.34-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.34-1 🚀
|
Details
Fixed Issues
$ #20507
$ #20507 (comment)
Tests
Offline tests
Same as Above
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Screen.Recording.2023-06-27.at.3.27.19.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-06-27.at.3.38.23.PM.mov
Screen.Recording.2023-06-27.at.3.40.20.PM.mov
Mobile Web - Safari
Screen.Recording.2023-06-27.at.3.37.23.PM.mov
Desktop
Screen.Recording.2023-06-27.at.3.29.19.PM.mov
iOS
android.mov
Android
android1.mov