-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Delete restore-old-line-height-algorithm React Native patch v2 #67176
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
Delete restore-old-line-height-algorithm React Native patch v2 #67176
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
|
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@shubham1206agra Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
Asked QA for a retest of the blocker |
|
I think I need to merge main, will do that soon |
|
@mountiny could you retrigger the build? 🙏 |
|
@shubham1206agra the previous blocker is not reproducible |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
@war-in Currency looks misaligned here. Also, currency box is smaller than prod. |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
@shubham1206agra The issue is fixed! But, it seems like the latest adhoc didn't refresh or upload properly? 🤔 Screen.Recording.Jul.31.2025.from.Marcin.Warchol.mp4Any ideas what's going on here? cc @mountiny |
|
that should should happen only on web with cdn cache |
|
Hmm, so I'm not sure why the bug is still there 🤔 cc @mountiny |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
I will review this PR today |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
@shubham1206agra All yours please |
Reviewer Checklist
Screenshots/Videos |
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.
Thank you
|
✋ 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/mountiny in version: 9.1.90-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.90-11 🚀
|









Explanation of Change
We introduced this patch during the migration to React Native 0.79 to fix this issue.
The issue occurred because React Native 0.79 changed the line height algorithm, so we decided to restore the old algorithm (the one from RN 0.77) to fix the issue asap.
It turns out that the bug is on our side and after removing the patch and
heightstyle prop from affected components (e.g.AmountForm) the issue is not reproducible.Fixed Issues
$ #65284
$ #67144 - previous deploy blocker
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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
Screen.Recording.Jul.28.2025.from.Marcin.Warchol.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop