[CP Staging] fix: FAB is not responsive after exiting create expense flow#56865
[CP Staging] fix: FAB is not responsive after exiting create expense flow#56865mountiny merged 6 commits intoExpensify:mainfrom
Conversation
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
|
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-14.at.09.14.43.movAndroid: mWeb ChromeScreen.Recording.2025-02-14.at.09.14.43.moviOS: NativeScreen.Recording.2025-02-14.at.09.18.45.moviOS: mWeb SafariScreen.Recording.2025-02-14.at.09.13.49.movMacOS: Chrome / SafariScreen.Recording.2025-02-14.at.09.12.05.movMacOS: DesktopScreen.Recording.2025-02-14.at.09.21.50.mov |
| { | ||
| icon: Expensicons.ChatBubble, | ||
| text: translate('sidebarScreen.fabNewChat'), | ||
| onSelected: () => interceptAnonymousUser(startNewChat), |
There was a problem hiding this comment.
Can you please retest the original issue that this interaction manager was added for is still fixed?
mountiny
left a comment
There was a problem hiding this comment.
changes look good to me, thank you!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
[CP Staging] fix: FAB is not responsive after exiting create expense flow (cherry picked from commit d2c9a35) (CP triggered by mountiny)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.98-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
| function navigateAfterInteraction(callback: () => void) { | ||
| InteractionManager.runAfterInteractions(() => { | ||
| Navigation.setNavigationActionToMicrotaskQueue(callback); | ||
| }); | ||
| } |
There was a problem hiding this comment.
This will create delay until animation is done. Is it a best solution here?
|
I think that makes sense. Alternatively, we could disable the bottom sheet closing animation during navigation to remove the delay. We need to see if the delay will bother people. |
|
Yeah I worried about that, but at the same time, this is better right now to unblock deploy - I will keep the issue open to still investigate better solutions |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.98-8 🚀
|
Explanation of Change
fix: FAB is not responsive after exiting create expense flow
Fixed Issues
$ #56796
$ #56800
$ #56814
PROPOSAL:
Tests
Offline tests
Same
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
Screen.Recording.2025-02-14.at.07.45.27.mov
Android: mWeb Chrome
Screen.Recording.2025-02-14.at.07.49.21.mov
iOS: Native
Screen.Recording.2025-02-14.at.07.44.46.mov
Screen.Recording.2025-02-14.at.09.31.26.mov
iOS: mWeb Safari
Screen.Recording.2025-02-14.at.07.49.55.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-14.at.07.48.13.mov
MacOS: Desktop
Screen.Recording.2025-02-14.at.07.54.19.mov