[CP Staging] Fix: Scroll Issue on Reports Page, side pane appearing after language change#57831
Conversation
|
FYI, this should also resolve a performance issue on the Reports screen. The issue was that all reports were being rendered at once, including those outside the visible area. This not only caused performance problems but also made scrolling impossible since the reports were technically present but positioned off-screen 😓 |
|
🚧 @shawnborton has triggered a test hybrid 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! 🧪🧪
|
|
Even in Spanish I can manually enable Pane: bug.mov |
|
There is something strange happening when I change the report search type, it only happens on iOS - Safari mWeb: iosm.web-.bug.movOn other platforms it works fine: Screenshots/VideosAndroid: mWeb Chrome57831-android-web.moviOS: Native57831_ios_native.moviOS: mWeb Safari - Bug aboveMacOS: Chrome / Safari57831-web-chrome.mov57831-web-safari.movMacOS: Desktop57831-web-desktop.mov |
|
This seems to have fixed the Reports page scrolling for me. |
Hi @brunovjk |
Reviewer Checklist
Screenshots/VideosAndroid: NativeWhatsApp.Video.2025-03-05.at.20.09.02.mp4Android: mWeb ChromeiOS: NativeScreen.Recording.2025-03-05.at.20.06.38.movMacOS: Chrome / SafariScreen.Recording.2025-03-05.at.19.59.56.mov |
| animation: Animations.NONE, | ||
| web: { | ||
| cardStyle: { | ||
| height: '100%', |
There was a problem hiding this comment.
NAB - Down the line we can probably move this to a style utils too.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…ts-screen [CP Staging] Fix: Scroll Issue on Reports Page, side pane appearing after language change (cherry picked from commit a99a5fe) (CP triggered by francoisl)
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.1.9-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.9-8 🚀
|


Explanation of Change
Issue was reported by @shawnborton on Slack here. Fixing two big issues in one PR:
Fixed Issues
$ #56988
PROPOSAL: N/A
Tests
Open Reports page on web (safari desktop, chrome desktop, safari ios, chrome android)
Verify that the page works well and user can scroll the reports
Make sure you have Help nvp disabled:
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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: mWeb Chrome
and.webm
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-05.at.09.54.50.mp4
MacOS: Chrome
Screen.Recording.2025-03-05.at.09.53.01.mov
MacOS: Safari
Screen.Recording.2025-03-05.at.09.53.27.mov