-
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
[$500] Android-IOU-Tapping IOU created and quickly tapping plus icon, its options displayed in IOU page #30139
Comments
Triggered auto assignment to @zanyrenney ( |
Job added to Upwork: https://www.upwork.com/jobs/~016e2e379d759da321 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
adding my proposal from #29379 same root cause, ProposalProblemWhen IOU preview is clicked and quickly the plus is clicked the plus option open in report details page Root CauseWhen we click the IOU preview there is a naviagtion delay in that moment if user clicks the plus button the popover will open and then navigation happens, there is no code specific root cause just a case not handled, the same can be reproduced when we quickly click the emjoi button when navigation is in progress. ChangesWe can avoid opening of Plus button options when navigation is in progress. We can use withNavigationFocus HOC to get isFocused prop which tells if screen is not focused(navigating in progress) ans onPress of plus button we can early return if Code changes: // src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.js
useEffect(() => {
onPopoverMenuClose();
}, [isFocused]);
// rest of code between
<PressableWithFeedback
onPress={(e) => {
e.preventDefault();
if (!isFocused && isSmallScreenWidth){
return;
}
// rest of props
/>
// rest code between
<PopoverMenu
animationInTiming={CONST.ANIMATION_IN_TIMING}
isVisible={isMenuVisible && isFocused}
// rest of props
/>
// rest of code We are following a similar approach in FloatingActionButtonAndPopover App/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js Lines 115 to 117 in 5d45f0f
App/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js Lines 170 to 177 in 5d45f0f
|
Where is the screen recording or link to slack @lanitochka17 ? |
@zanyrenney Hello The screen recording is located in the Screenshots/Videos tab |
oh eek, thanks! |
@lanitochka17 I feel like I can't see any bug, how fast is "fast" here? |
@zanyrenney Hello 0-02-01-1be829df512952002368cabb7f2aca31ab98a920239bb56c5038d0c13060d813_fd1025a609a333bb.mp4Compared to IOS, there is no way to open menu and IOU pages at the same time: 0-02-01-bb6838b56dd6ecf8d8f0227098b6ee1218102937a3c498d2bae5a3876bc2a544_6de0ac336beb5b90.mp4 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@mananjadhav, @zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@mananjadhav what do you think of @ishpaul777 proposal above? |
Proposal Updated to add more details on approach and reference to where we are following same approach. |
I have a question on whether we should be fixing this one. I've raised it here internally. Will update once I get a response. |
bumped it in the channel. |
Vit reviewed, said to close! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.88-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The plus options of 1:1 page like request money, send money, assign task and add attachments must not be displayed in IOU page when user taps IOU created and quickly taps on plus icon near compose
Actual Result:
The plus options of 1:1 page like request money, send money, assign task and add attachments are displayed in IOU page when user taps IOU created and quickly taps on plus icon near compose
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Bug6245870_1697922152761.io.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: