-
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
[N6] AddressSearch component is not autofilling #5794
Comments
Alright, this issue has been a bear to work on (surprisingly). This lib is designed to work inside of functional components, and I'm not sure why using it inside of a class component isn't working. The behavior described above is due to a race condition. I've been able to verify this with debuggers. I've been able to fix this issue by doing the following
I like the third option the best, but it would require forking the lib. I'd like to get some other engineers' thoughts, so I'll be posting a link to this comment in @roryabraham since we talked about this today. |
Spent some time looking into this and alternatives with @Luke9389 here. I am pretty solidly on team |
le whoops! |
Hmm, not on production yet. Looking into deploy blockers. |
Oh, actually it looks like it is on production. #5800 (comment) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
There are two ways to test this
Variant 1
Variant 2
Either way
Expected Result:
Describe what you think should've happened
The Company Address field should draw info from the reimbursementAccountDraft onyx key to autofill itself.
Actual Result:
The Company Address field does not autofill
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
The user can manually input their address again.
Platform:
Where is this issue occurring?
Version Number:
Reproducible in staging?:
Reproducible in production?:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: