-
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
[CP Staging] fix: FAB is not responsive after exiting create expense flow #56865
Conversation
Co-authored-by: Vit Horacek <[email protected]>
🚧 @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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please retest the original issue that this interaction manager was added for is still fixed?
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 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
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