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. |
roryabraham
left a comment
There was a problem hiding this comment.
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! 🧪🧪 |
roryabraham
left a comment
There was a problem hiding this comment.
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
android.mov
Android: mWeb Chrome
iOS: Native
ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop