Prevent navigating from scrollToBottomForCurrentUserAction#58908
Prevent navigating from scrollToBottomForCurrentUserAction#58908WojtekBoman wants to merge 2 commits intoExpensify:mainfrom
Conversation
|
@ahmedGaber93 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] |
Reviewer Checklist
Screenshots/VideosAndroid: Native2025-03-21.17.01.18.movAndroid: mWeb Chromeandroid-web.moviOS: Nativeios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopweb.mov |
|
I found this bug And then follow the steps And then press go back several times We navigate to correct workspace list of chats but then immediately we navigate to common list of chats 2025-03-21.16.09.57.mov |
@ZhenjaHorbach Just to make sure, does it occur on the main? |
But sorry |
|
The solution to this issue will be included in this PR #58904 |
Let's close it then ! |
Explanation of Change
This PR prevents navigating from
scrollToBottomForCurrentUserActionafter requesting money.Navigation.navigateis not calledscrollToBottomForCurrentUserActionwhenReportActionListcomponent is focused and we try to navigate to the current report.Fixed Issues
$ #57497
PROPOSAL:
Tests
Offline tests
QA Steps
Same as tests
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
Screen.Recording.2025-03-21.at.14.33.12.mov
iOS: Native
Screen.Recording.2025-03-21.at.13.45.52.mov