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 |
| // 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()) { |
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 |
|
Hey @bernhardoj, Jest Test 3 is failing, do you think you could try merging main again. Linking this just in case you need it |
|
@srikarparsi merged with main |
srikarparsi
left a comment
There was a problem hiding this comment.
lgtm, thanks for the test!
|
✋ 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/srikarparsi in version: 9.0.95-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.95-6 🚀
|

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 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
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