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 |
|
@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 🚀
|
| <View style={styles.mb5}> | ||
| <RoomNameInput | ||
| ref={(el) => (roomNameInputRef.current = el)} | ||
| ref={inputCallbackRef} |
There was a problem hiding this comment.
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 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
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