Revert #94565 and #97214 (Agents input auto scroll + CollapsibleHeaderOnKeyboard rotation fix) - #97298
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
🚧 NicolasBonet 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, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@NicolasBonet Why do we need to revert these changes? Could you link the bugs caused by the two PRs that were reverted? |
We were blocking the release for the entire day, in the original PR you can find the bug. |
…458097637-1 🍒 Cherry pick PR #97298 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/NicolasBonet in version: 9.4.45-14 🚀
|
Help site review — no changes requiredI reviewed the changes in this PR against the help site articles under Conclusion: No help site updates are required. Why: This PR is a straight revert of two bug fixes:
All touched files are low-level UI/keyboard behavior — the The relevant help content (e.g. Since no documentation changes are warranted, I did not create a draft PR (and therefore there is no help site PR to review or mark @NicolasBonet, if you believe a documented behavior is affected and a help site update is needed, let me know and I'll create the draft PR. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.4.45-14 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/NicolasBonet in version: 9.4.46-0 🚀
|
|
🤖 No help site changes required. This PR reverts two PRs (#94565 and #97214) that were purely internal UI/component behavior fixes:
Why no docs are needed
Since no changes are required, I did not create a draft help-site PR. If you believe a documented behavior did change here, let me know and I'll take another look. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.4.46-10 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Reverts two PRs:
CollapsibleHeaderOnKeyboardnot restoring header height after rotation #97214 (FixCollapsibleHeaderOnKeyboardnot restoring header height after rotation)The revert of #94565 had one conflict in
src/pages/settings/Agents/AddAgentPage.tsxbecause the file was later refactored (agent template pre-fill and theAddAgentPageContentsplit). The conflict was resolved by keeping the newer structure and removing only what that PR introduced: theCollapsibleHeaderOnKeyboardwrapper around the header, thescrollToMultilineInputfocus handler, and the keyboard-driven prompt-input shrinking.The revert of #97214 is clean and only touches
src/components/CollapsibleHeaderOnKeyboard/index.native.tsx.Fixed Issues
For #93631
For #97196
PROPOSAL: N/A
Tests
CollapsibleHeaderOnKeyboard(e.g. the split expense page), focus an input so the header collapses, dismiss the keyboard, and verify the header is restored.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.