-
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: 24473 Deepliink - Keyboard displayed upon splash screen #30345
Conversation
@tienifr is this ready to review? I think it's still failing lint |
@danieldoglas Thanks for pointing that out. I just fixed |
thanks! @jjcoffee can you please do the checklist? |
@danieldoglas Ah apologies this one slipped through the cracks, as @tienifr hadn't commented on the issue that the PR is ready 😄 I'll add it to my list, but can't promise I'll get to it today! |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-native-2023-11-06_18.26.37.mp4Android: mWeb Chromeandroid-chrome-2023-11-06_18.35.45.mp4iOS: Nativeios-native-2023-11-06_18.42.53.mp4iOS: mWeb Safariios-safari-2023-11-06_18.43.37.mp4MacOS: Chrome / Safaridesktop-chrome-2023-11-06_18.36.53.mp4MacOS: Desktopmac-desktop-2023-11-06_18.45.20.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!
@tienifr, just saw that it's conflicting. can you please take a look into it? |
@danieldoglas Thanks you for pointing that out. I just fixed the conflict |
✋ 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/danieldoglas in version: 1.3.96-6 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.96-15 🚀
|
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.98-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.98-5 🚀
|
@@ -199,7 +196,7 @@ function WorkspaceNewRoomPage(props) { | |||
> | |||
<View style={styles.mb5}> | |||
<RoomNameInput | |||
ref={(el) => (roomNameInputRef.current = el)} | |||
ref={inputCallbackRef} |
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.
Coming from this issue, we have updated the ref to ref={inputCallbackRef}
. The inputCallbackRef sets the ref to current and then set the state to truesetIsInputInitialized(true)
. The problem is that, on this screen, the ref is called twice, which leads to setIsInputInitialized(true) being called infinitely. more on this comment
Details
Fixed Issues
$ #24473
PROPOSAL: #24473 (comment)
Tests
Offline tests
QA Steps
deeplink (e.g. in notes)
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
Android: Native
Screen.Recording.2023-10-25.at.22.08.52.mov
Android: mWeb Chrome
original-2ADFFC7E-9CBE-4F10-9192-45BCB6F545BC.mp4
iOS: Native
Screen.Recording.2023-10-25.at.22.23.39.1.mp4
iOS: mWeb Safari
original-21652B08-6110-40C0-B466-4A37542E442E.mp4
MacOS: Chrome / Safari
Screen.Recording.2023-10-25.at.22.18.37.mov
MacOS: Desktop
Screen.Recording.2023-10-25.at.21.55.50.mov