-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2023-11-01] [$500] The error message does not close in one click if the address dropdown is open. #29433
Comments
Triggered auto assignment to @JmillsExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~019bb896d532ae6056 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The error message does not close in one click if the address dropdown is open. What is the root cause of that problem?The dropdown menu is preventing click/touch events from bubbling down to other components. What changes do you think we should make in order to solve the problem?Modify code in the dropdown menu to ensure click events are passed down to other components. What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.The error message does not close in one click if the address dropdown is open. What is the root cause of that problem?in react-native-google-places-autocomplete plugin when input box blur triggered time flat list is hidden so at the time next event is not triggering What changes do you think we should make in order to solve the problem?https://github.com/FaridSafi/react-native-google-places-autocomplete/blob/ef107387c6846924423b832a242eee83cb07eed4/GooglePlacesAutocomplete.js#L725 Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.While the address suggestion is showing, pressing the location error close button will close the suggestion but not clear the error. What is the root cause of that problem?This is the same issue as #12715. When we touch down the close button, it will immediately blur the address input closing the suggestion list and shifting the location error message & button position up, so the press callback is not fired. What changes do you think we should make in order to solve the problem?We can use the same solution as #12715 by preventing the blur when touching the close button using App/src/components/LocationErrorMessage/BaseLocationErrorMessage.js Lines 60 to 67 in f942acd
onMouseDown={e => e.preventDefault()} or just do nothing |
@JmillsExpensify, @ntdiary Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@ntdiary Thoughts on the proposals so far? |
@bernhardoj's proposal looks good to me, it's straightforward for these layout shift issues. Additionally, I'm not exactly sure if we are interested in implementing this on generic components(e.g. Btw, @Samueljh1, @pradeepmdk, please use your own words in the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @tylerkaraszewski, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @ntdiary 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @aman-atg 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @ntdiary |
🎯 ⚡️ Woah @ntdiary / @bernhardoj, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
PR merged. Waiting for it to hit production and start the regression hold. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.90-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 2023-11-01. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@ntdiary Mind kicking off the BZ checklist? |
In the meantime, payment summary:
|
Just a minor feature polish, no need to add regression test. |
Doesn't need to be overdue. |
@tylerkaraszewski, @JmillsExpensify, @ntdiary, @bernhardoj Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Thanks! |
Everyone paid out based on summary above. Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1,3,80,0
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: @aman-atg
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696764596197229
Action Performed:
Expected Result:
The error message should be removed with a single click just like in native devices
Actual Result:
Attempting to close the error results in the dropdown closing, but the error message persists.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
bug.mp4
iOS: Native
iOS: mWeb Safari
Screen.Recording.2023-10-08.at.4.58.24.PM.mov
MacOS: Chrome / Safari
Recording.4914.mp4
bug.mp4
MacOS: Desktop
Screen.Recording.2023-10-08.at.4.48.49.PM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: