-
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: broken search screen on Android #37155
fix: broken search screen on Android #37155
Conversation
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Tests well except blank list showing for a brief moment Screen.Recording.2024-02-27.at.12.05.05.AM.mov |
I am little confused, this PR is working, but the staging app is also working for me. Is there any other steps to reproduce the problem in staging? Or maybe it depends on the device? |
This is reproducible on main. Seems like offending PR didn't hit staging yet |
From my observation it happens only on Android and only if you do a clean installation - can you try to make a clean installation?
@situchan staging == latest github release? Or how we can detect if a particular PR was deployed to staging? |
Got it, let me try main and a clean install |
#29991 is the offending PR |
Normally #30829 (comment) |
const createModalStackNavigator = createModalStackNavigatorFactory(createPlatformStackNavigator); | ||
const createJSModalStackNavigator = createModalStackNavigatorFactory(createStackNavigator); |
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 we just add a comment saying which one is preferred to use and why we have the JS one?
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.
@rlinoz actually the PR with native-stack produces many problems, so the best solution would be to revert this PR and I'll re-open a new one later where I'll fix all the issues
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-26.at.16.23.23.movAndroid: mWeb ChromeWhatsApp.Video.2024-02-26.at.16.36.28.mp4iOS: NativeScreen.Recording.2024-02-26.at.16.24.53.moviOS: mWeb SafariScreen.Recording.2024-02-26.at.16.34.52.movMacOS: Chrome / SafariScreen.Recording.2024-02-26.at.16.25.39.movMacOS: DesktopUploading Screen Recording 2024-02-26 at 16.28.39.mov… |
Im gonna merge this as this is important, but it would be nice to have the comments here |
✋ 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/rlinoz in version: 1.4.44-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
Fixed infinite loading screen on Android.
The main problem is in the fact that
transitionEnd
event is not fired (but we receive it on iOS). I quickly checked Android code and found thatdispatchViewAnimationEvent
is not getting called (and as a resultdispatchLifecycleEvent
is also not called).I don't know exactly why this navigation doesn't trigger
transitionEnd
on Android, but as a workaround we use JS stack for this screen.Fixed Issues
$ #37156
PROPOSAL:
Tests
Offline tests
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
telegram-cloud-document-2-5388686859729649290.mp4
Android: mWeb Chrome
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-02-23.at.18.28.55.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-02-23.at.18.36.57.mov
MacOS: Desktop
Screen.Recording.2024-02-23.at.18.40.54.mov