-
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
Console error when clicking 'Fix Errors' for State select input #12989
Comments
Triggered auto assignment to @miljakljajic ( |
Similar-ish to this one, but different underlying issue and reproducible in Staging/Prod |
Proposal
Form stores a reference of all input elements in Lines 262 to 266 in dd37575
The reference element here does not reference the App/src/components/Picker/index.js Lines 177 to 182 in dd37575
SolutionForward ref in +export default React.forwardRef((props, ref) => {
+ return <RNPickerSelect innerRef={ref} {...props} />;
+}); + ref={this.props.innerRef} |
Ah, @miljakljajic, @mdneyazahmad , I linked the fix PR yesterday, so this doesn't need to be worked on |
@Gonals I missed that linked PR, sorry for that. I believe after the PR clicking on the button, it will do nothing. If you go ahead with my proposal, It will focus the internal select element, and pressing Space will open the select options, and pressing Enter will submit the form. Thanks! |
RNPickerSelect is an external component, though, and since this PR will take us to the right element anyways, I think it is fine to just avoid the console error here. |
@Gonals, @miljakljajic Still overdue 6 days?! Let's take care of this! |
@Gonals, @miljakljajic 10 days overdue. Is anyone even seeing these? Hello? |
@Gonals, @miljakljajic 12 days overdue now... This issue's end is nigh! |
This issue has not been updated in over 14 days. @Gonals, @miljakljajic eroding to Weekly issue. |
This issue has not been updated in over 15 days. @Gonals, @miljakljajic eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Do we need to keep this open? Is there anything left to be done? |
FYI, this PR hid the problem with #15290, as we no longer were attempting to call |
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:
Expected Result:
No errors should show in the console
Actual Result:
An error shows up in the console:
Workaround:
Not needed
Platform:
Where is this issue occurring?
Version Number: 1.2.31-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
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: