-
Notifications
You must be signed in to change notification settings - Fork 3k
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 jump #21665
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 |
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.
Looks good and tests well
🎀 👀 🎀 C+ reviewed
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.
Looking good, gotta wait for tests to pass
Co-authored-by: Alex Beaman <[email protected]>
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 🙃 |
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.
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 |
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.
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 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
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