-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix report view shakes after returning from Reports #58994
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
Fix report view shakes after returning from Reports #58994
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. |
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 @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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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