-
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 chat doesn't scroll when splitting expense #54863
base: main
Are you sure you want to change the base?
Fix chat doesn't scroll when splitting expense #54863
Conversation
@shubham1206agra 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] |
@shubham1206agra please review this when you are available |
@bernhardoj Please merge main here. |
@shubham1206agra done |
Screen.Recording.2025-01-24.at.11.45.08.AM.mov@bernhardoj Your solution does not seem to be working. Can you recheck this? |
The lastVisibleActionCreated is updated correctly, but the EDIT: I mean |
It doesn't scroll down anymore after #54071 |
@@ -466,7 +466,7 @@ function ReportActionsList({ | |||
(isFromCurrentUser: boolean) => { | |||
// If a new comment is added and it's from the current user scroll to the bottom otherwise leave the user positioned where | |||
// they are now in the list. | |||
if (!isFromCurrentUser || scrollingVerticalOffset.current === 0 || !isReportScreenTopmostCentralPane()) { | |||
if (!isFromCurrentUser || !isReportScreenTopmostCentralPane()) { |
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.
Removed the condition. It's just for early returns based on this comment.
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.
@rinej Can you help me confirm if it is safe to remove 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.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-01-30.at.9.09.42.PM.movAndroid: mWeb ChromeScreen.Recording.2025-01-30.at.8.47.21.PM.moviOS: NativeScreen.Recording.2025-01-30.at.9.01.29.PM.moviOS: mWeb SafariScreen.Recording.2025-01-30.at.8.42.58.PM.movMacOS: Chrome / SafariScreen.Recording.2025-01-30.at.8.41.12.PM.movMacOS: DesktopScreen.Recording.2025-01-30.at.8.50.25.PM.mov |
Looks like there's a conflict @bernhardoj |
@srikarparsi fixed |
Explanation of Change
Fixed Issues
$ #54001
PROPOSAL: #54001 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
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