-
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
[HOLD for payment 2024-03-11] Distance - App refreshes when hitting Enter on empty waypoint editor #36363
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @blimpich ( |
We think that this bug might be related to #wave5-free-submitters |
Not a blocker. |
Job added to Upwork: https://www.upwork.com/jobs/~01c78c122e47f0026b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
This looks like a regression from #34471 - it's not only on empty inputs but on non-empty ones when offline. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
ProposalPlease re-state the problem that we are trying to solve in this issue.App refreshes when hitting Enter in waypoint editor while Address input is focused, it may be not empty and it will still reload the app. What is the root cause of that problem?After investigating the code, I found out that the issue was caused by the fact that pressing Enter while Address input is focused was triggering browser submit on the parent form element, instead of triggering programmatic submit. And since there is no action specified on the form element, it triggers submit on current route. This can be easily checked by adding What changes do you think we should make in order to solve the problem?In order to solve this issue you need to restore FormSubmit component and replace FormElement component in FormWrapper component with it and add onSubmit handler to it. What alternative solutions did you explore? (Optional)Before discovering that the regression was caused by replacement of FormSubmit component with FormElement, I did alternative solution, where I just added |
📣 @zoilorys! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
I think this is due to the weird behaviour of |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
PR #36401 is in review |
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Ugh, I am terrible at using these dang labels. This is a regression being handled by the author of the PR who caused it, so I shouldn't have marked it as external and needing help to begin with. No bug zero member is assigned here so this should just be handled as part of the original issue here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.46-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-03-11. 🎊 For reference, here are some details about the assignees on this issue:
|
No payment for me, we handled this as a regression |
Issue is ready for payment but no BZ is assigned. @abekkala you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
👍 Correct yes this one can just be closed. I'll close it now. |
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: v1.4.40-0
Reproducible in staging?: y
Reproducible in production?: n
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:
Note that the page refreshes.
Expected Result:
App returns to the distance request page.
Actual Result:
App refreshes.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6377102_1707765277552.20240213_014106.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: