-
Notifications
You must be signed in to change notification settings - Fork 3k
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 scrollbar appears every time switch report type #57178
base: main
Are you sure you want to change the base?
Fix scrollbar appears every time switch report type #57178
Conversation
@eVoloshchak 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] |
I won't be able to test this for a few days since I don't have my mouse with me, but the video looks good to me 👍 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@shawnborton, this can be reproduced even without a mouse, laptop touchpad works too
Screen.Recording.2025-02-21.at.13.23.17.mov |
@bernhardoj, but there is a scroll indicator shown in LNH, it just doesn't flicker as a result of this fix But this makes me wonder: why do we have 3 tabs (Inbox, Reports and Settings), and only the Reports tab has the scroll indicator not hidden? @shawnborton, is there a rationale behind it? Screen.Recording.2025-02-21.at.13.34.17.mov |
There is no rationale - I think the Reports page LHN should also not have a scroll bar to match the other pages. Maybe we can squeeze that change into this PR as well if it's easy? |
There is no scrollbar because it's not scrollable.
Updated |
Sweet, let's get this into final review then cc @eVoloshchak |
Explanation of Change
Fixed Issues
$ #56014
PROPOSAL: #56014 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: User have a few saved searches
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
Android: Native
android.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4