Reset css height/maxHeight values to default when animation stops - #100356
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
|
|
🚧 NicolasBonet has triggered a test Expensify/App build. You can view the workflow run 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. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…ctly Reset css height/maxHeight values to default when animation stops (cherry picked from commit f29a3da) (cherry-picked to staging by francoisl)
|
🔁 Filed a Staging retest request for deploy blockers #100351 after this PR was cherry-picked to staging. |
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.4.70-1 🚀
|
|
🤖 No help site changes are required for this PR, so no draft docs PR was created. Why: This PR changes two style values in the shared Assessment detailsWhat changed: 1 file, +2/-2. Only the resolved User-visible effect: Content added to an expanded accordion is no longer cropped. Fixes the report field row and Add field button being cut off in Workspace settings > Reports, reported in #100351. Why no docs update:
Per HELP_AUTHORING_GUIDELINES.md, articles cover customer-facing tasks and concepts. A bug fix that makes existing documented behavior work correctly does not warrant an article change. @s77rt — since there is no help site change to make, there is no linked docs PR to review. If you think a specific article needs updating anyway, tell me which one and what it should say, and I'll create the draft PR. |
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.4.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.72-2 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.4.73-0 🚀
|
No help site changes are required for this PRThis PR changes two style values in Help site articles document what a feature does and the steps to use it. Nothing in Separate finding: the Report fields article is out of dateWhile checking this PR's flow against the live UI, I found that
UI evidenceThe Report fields toggle on the Reports tab:
The Add field button after enabling the toggle:
The Name and Type rows on the Add field page:
The four field types:
Verified on a Control workspace on web. I left this alone because filing it under a title that credits this PR would misattribute the change. view run · no recording available |
|
@MelvinBot fix the Report fields article |
Draft PR created: #100515Docs updates for E/A#100356 correct Report fields article to match current UI — It rewrites Accuracy fixes
The navigation error was the expensive one — an admin following the old article looks under More features, finds nothing, and concludes report fields are missing from their workspace. Compliance fixes against The filename is unchanged, so the published URL still resolves. The Checks run: @s77rt, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR view run · no recording available |




Explanation of Change
When the
Accordionanimation stops, the resolvedheight/maxHeightareundefined, this makes it look like these values will clear the customheight/maxHeightand reset to default but actually theseundefinedare no-op (does nothing) and whatever the last derived height/maxHeight was stays as is. This is a problem when we dynamically add more content to that accordion content, since theheight/maxHeightare fixed the new content will be cropped.The fix is to reset the
height/maxHeightcorrectly to their defaults i.e.auto/noneresp.Fixed Issues
$ #100351
PROPOSAL:
Tests
Screen.Recording.2026-09-03.at.9.16.54.PM.mov
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari