-
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 App#11795] [$500] Pressing enter takes the focus to Add a personal message field on Android - reported by @thesahindia #10181
Comments
Triggered auto assignment to @MitchExpensify ( |
I am unable to reproduce this on iOS |
Only reproducible at android mobile browsers |
Asked in Slack for help with reproduction - https://expensify.slack.com/archives/C01GTK53T8Q/p1659456631390199?thread_ts=1657396762.843809&cid=C01GTK53T8Q |
@rushatgabhane reproduced on v1.1.86-5, Chrome, Android 12 This is odd behavior, labelling Engineering accordingly |
Triggered auto assignment to @Justicea83 ( |
this can be external |
Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @aldo-expensify ( |
ProposalI could replicate the issue in only real devices, not simulators. Actually, this is an exceptional case in Android devices, which we can reproduce even though we test with 2 input boxes in an empty page. const textInput = (
<TextInput
ref={el => this.textInput = el}
value={this.props.value}
label={this.props.textInputLabel}
onChangeText={(text) => {
if (this.props.shouldFocusOnSelectRow) {
this.textInput.setNativeProps({selection: null});
}
this.props.onChangeText(text);
}}
placeholder={this.props.placeholderText || this.props.translate('optionsSelector.nameEmailOrPhoneNumber')}
onBlur={(e) => {
if (!this.props.shouldFocusOnSelectRow) {
return;
}
this.relatedTarget = e.relatedTarget;
}}
selectTextOnFocus
+ returnKeyType="done"
blurOnSubmit={Boolean(this.state.allOptions.length)}
/> It will resolve this issue. |
@railway17's proposal can be improved. it is missing proper explanation and not easy to understand. (Please try to make it easier for a reviewer to understand your proposal). The easier it is to understand, the better odds for you. Could you please add the following details to it?
What do you mean by |
@parasharrajat @shawnborton @MitchExpensify @aldo-expensify I am unsure if we should just proceed with this one on its own. Seems like the solution to it is quite involved and we have other similar forms/lists in the App which should have the same behaviour and I dont think we should only focus on this one solely. The solution/behaviour should be same for all instances of this input form. At the same time, this feels like low ROI at the moment with out attention to better performance of the app. I think it would be better to put this on HOLD and have some predesign about how this input form should behave across the platforms, clearly define all the scenarios and how they should be handled (similarly as we are doing with the navigation now), otherwise we will have many of similar issues like this where we will be trying to tweak the behaviour slightly depending on who the CME is 😄 Thoughts? |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
I like the idea of putting this on HOLD while we design a better solution. |
Would leading that pre-design typically fall on the CM or CME? This is the first time I've run into a case like this as CM |
I think we'd want to put this back on our internal design team to come up with a better solution, and probably just close this one out altogether? |
Sounds good to me! and totally agree with what @mountiny said here: #10181 (comment) |
Cool! I'm tempted to pay out half price ($250) to C+ and the reporter of the issue for their work on this. What do you reckon @michaelhaxhiu ? (CM buddy check) |
I agree with paying that out and I dont think either of us necessarily needs to lead the predesign we should just make sure this does not fall through the cracks and it gets done! |
Created a planning issue for this here #11795 so we dont forget about it. Feel free to subscribe to it or take it on if you want to lead this sooner than later! |
@MitchExpensify Let's take the pricing question to the internal #contributor-plus channel and discuss there. It would be good to keep track of precedent here in case similar situations arise in the future. |
|
Put this on hold as mentioned before |
Following instructions for the weekly update chore: @mountiny this is one of the oldest issues in the /App repo. To help us clear out the large backlog of bugs, can you:
I recognize this issue is on hold so maybe the above is irrelevant, but once it's not on hold do you expect we should take this internal given the issue's age? |
Thanks for the ping, in this particular case I will go ahead and close the issue. My reasons are:
|
@MitchExpensify Can you please look into the C+ payment #10181 (comment) |
Hey @parasharrajat, apologies for the delay (Thanksgiving break then I was unwell) Invite sent to new upwork job |
@MitchExpensify Could you please pay this off? |
@parasharrajat Done! Thanks for the bump |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Alternative Flow
Expected Result:
Screen.Recording.2022-08-08.at.11.44.43.AM.mov
Actual Result:
On pressing enter the Add a personal message field gets focused
The user can't go to the next line and pressing enter selects the contacts
Workaround:
unknown
Platform:
Where is this issue occurring?
Make sure this works same on iOS too and matches desktop/browser behaviour.
Version Number: 1.1.85-8
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screenrecording_20220710_012126.mp4
potentially related to https://expensify.slack.com/archives/C01GTK53T8Q/p1657397089778049
Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1657396762843809
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: