-
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 inverted flat list #40547
Fix inverted flat list #40547
Conversation
caebd60
to
4469294
Compare
4469294
to
172a326
Compare
This comment has been minimized.
This comment has been minimized.
Verified that this PR fixes #40108 🎉 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.mp4Android: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@roryabraham @thienlnam Does this fix #40048 too ? |
Unfortunately not. We were mistaken in thinking that would have the same root cause - the LHN is not an inverted flat list. |
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.
It looks like this patch is substantially different from the upstream PR in that it only works for a single transform operation, while the upstream will loop through all the transform operations and apply them in sequence.
I think we should try to keep this more in sync with the upstream solution, which looks more robust.
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
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.
retested and verified the fix with the latest changes
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
The upstream pull request has been updated with a better solution that covers all transform cases. I'm not sure if we want to update the patch in NewDot, or just wait for the RN update. cc @roryabraham |
@kosmydel let's wait for the upstream PR to be merged, then update the patch to match (unless RN 0.74 is very close to being ready to land) |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.64-6 🚀
|
Details
This PR fixes the inverted flat list issues in
react-native
. More details here. This PR changes only native code, so it should not affect the web/desktop version.Fixed Issues
$ #40108
PROPOSAL: N/A
Tests
Offline tests
N/A
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 methodSTYLE.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 and/or tagged@Expensify/design
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
android.mov
Android: mWeb Chrome
iOS: Native
ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop