-
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
Auto scroll fix #38999
Auto scroll fix #38999
Conversation
@yuwenmemon since it is a web fix, I added only Chrome/Safari and Desktop recordings |
@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] |
The change looks straightforward. @perunt can you please add Test/QA steps. The QA team will refer this during the PR testing. |
@mananjadhav added them in for @perunt |
Thanks @yuwenmemon. I'll be testing this in a few hours. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-auto-scroll-fix.movAndroid: mWeb Chromemweb-chrome-auto-scroll-fix.moviOS: Nativeios-auto-scroll-fix.moviOS: mWeb Safarimweb-safari-auto-scroll-fix.movMacOS: Chrome / Safariweb-auto-scroll-fix.movMacOS: Desktopdesktop-auto-scroll-fix.mp4 |
Having some challenges building the Desktop app, will try again in a while. I think based on the #38935 (comment) the scroll behavior is needed for the mobile platforms. |
I was able to test this on Desktop. When I resize to a smaller width, I can see the scroll behavior, which I think is expected. Visible in the attached video as well. |
@yuwenmemon looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.4.58-0 🚀
|
@mountiny Did not confirm? Means they didn't QA or the fix failed to work? |
I retested it on main and staging, and it works. The only issue that can appear (and I think it did) is that it's not a fix for mobile, as I mentioned here(#38935 (comment)). We have a different UI there, so it's more related to preserving the scroll on the previous screen(for mobile/narrow screen). |
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.58-8 🚀
|
Here is a quick recap about this bug: #38935 (comment)
Details
Fixed Issues
$ #38935
PROPOSAL: #38935 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Untitled.mov
MacOS: Desktop