-
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] IOU - "Save" button is shown before the "Delete" popup appears #33473
Comments
Job added to Upwork: https://www.upwork.com/jobs/~018490ade582580d49 |
Triggered auto assignment to @peterdbarkerUK ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue."save" button is visible when "delete stop" dialog is enabled What is the root cause of that problem?we dont hide the save button on opening the delete dialog What changes do you think we should make in order to solve the problem?we can add <FormProvider
style={[styles.flexGrow1, styles.mh5]}
formID={ONYXKEYS.FORMS.WAYPOINT_FORM}
enabledWhenOffline
validate={validate}
onSubmit={submit}
shouldValidateOnChange={false}
shouldValidateOnBlur={false}
submitButtonText={translate('common.save')}
isSubmitButtonVisible={!isDeleteStopModalOpen}
> Alternative solutionor we can keep the "delete waypoint" popover menu as open after clicking on the menu item so that it doesnt disappear (therefore the save button will not appear) to do that we can add a new prop to the |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU - "Save" button is shown before the "Delete" popup appears What is the root cause of that problem?This happens as there there is a delay between the popover hiding and the ConfirmModal showing in What changes do you think we should make in order to solve the problem?We can add a AlternativelyWe can hide the submit button using We currently don't have the ability to pass a function to |
do nothing because i don't think this is an issue |
Please re-state the problem that we are trying to solve in this issue. What is the root cause of that problem? What changes do you think we should make in order to solve the problem? What alternative solutions did you explore? (Optional) |
📣 @Aaslan01! 📣
|
cc @peterdbarkerUK This seems like the expected behaviour. should we change that? |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@peterdbarkerUK, @fedirjh Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Yeah I think this is working as intended - the save button does get blocked when the deletion confirmation box comes up. It feels like a step too many to hit a 3 dot menu, select delete from a list of one, and then. confirm the deletion, but that's not a bug. Closing, please LMK if you disagree! |
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.4.15.1
Reproducible in staging?: Y
Reproducible in production?: Y
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 "Save" button shouldn't be visible while deleting a stop
Actual Result:
The "Save" button is displayed simultaneously with other buttons
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6323301_1703199562521.VBXF9985.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: