Fix report view shakes after returning from Reports#58994
Fix report view shakes after returning from Reports#58994mollfpr merged 1 commit intoExpensify:mainfrom
Conversation
|
@mananjadhav 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] |
|
@blazejkustra Would be great if we could add a one liner explanation on what the change is/how it fixes it? |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-report-view-shake.movAndroid: mWeb Chromemweb-chrome-report-view-shake.moviOS: NativeiOS: mWeb Safarimweb-safari-report-view-shake.movMacOS: Chrome / Safariweb-report-view-shake.movMacOS: Desktopdesktop-report-view-shake.mov |
|
I have an issue with my pod install, so I am skipping this. |
mollfpr
left a comment
There was a problem hiding this comment.
Thank you @blazejkustra @mananjadhav for this quick PR 🙏
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Before side pane implementation cardStyle: shouldUseNarrowLayout ? StyleUtils.getNavigationModalCardStyle() : undefined,Turns out height: 100% is necessary for the screen so that the composer is always at the bottom, without it on low end devices for a split of a second the whole view shakes. |
|
🚀 Deployed to staging by https://github.com/mollfpr in version: 9.1.19-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.19-5 🚀
|
Explanation of Change
Before side pane implementation
StyleUtils.getNavigationModalCardStyle()was always used no matter the size of the screen. Then I made the change to only apply this style for narrow layout:Turns out height: 100% is necessary for the screen so that the composer is always at the bottom, without it on low end devices for a split of a second the whole view shakes.
Fixed Issues
$ #57807
PROPOSAL: N/A
Tests
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
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-24.at.17.29.37.mp4
MacOS: Chrome / Safari
web-fix.mov