-
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 2023-03-01] [$1000] Android - Keyboard is not dismissed after tapping outside of email input #14569
Comments
This looks like something we will want to fix, tagging engineering to take a look |
Job added to Upwork: https://www.upwork.com/jobs/~010f80df51934e8bf6 |
Current assignee @mateocole is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Current assignee @thienlnam is eligible for the External assigner, not assigning anyone new. |
I think this is expected #13920 (comment). |
This came from #13954 and I agree with @bernhardoj. |
Thanks, @bernhardoj and @situchan! Let’s wait for the clarification. |
Hello. As stated above - this is expected behavior. But still it can be improved. After the touch event - we get the focused view, remove focus from it and hide the keyboard. |
PROPOSAL:
Code sample:
|
PROPOSAL: this is a maintained library with thousands of stars We can also use Formik for form validation and other handlings. |
PROPOSAL : |
@bernhardoj @situchan I think we should make the same behavior on native platforms, no? @thienlnam What do you think about the comments #14569 (comment) and #14569 (comment)? Are we going close this or continue to fix the issue? |
Screen_Recording_20230202_175644_New.Expensify.mp4 |
I agree with you here, I see that it was removed to fix this
But like you mentioned, our philosophy is that it should be expected to work the same way on all platforms so we should figure out another fix for this Whatever proposal you accept should also verify that the language picker is still clickable on the sign in page |
Proposal:It doesn't make sense that we make use of touchable onPress feature when keyboard is not shown. Make changes in TouchableDismissKeyboard component:
const TouchableDismissKeyboard = (props) => {
const dismissKeyboardWhenTappedOutsideOfInput = () => {
- if (!props.isKeyboardShown) {
- return;
- }
Keyboard.dismiss();
};
return (
- <TouchableWithoutFeedback onPress={dismissKeyboardWhenTappedOutsideOfInput}>
+ <TouchableWithoutFeedback disabled={!props.isKeyboardShown} onPress={dismissKeyboardWhenTappedOutsideOfInput}>
{props.children}
</TouchableWithoutFeedback>
);
}; |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.75-0 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-03-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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
This comment was marked as spam.
This comment was marked as spam.
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:
|
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:
|
@situchan could you propose the regression test? |
Regression Test Proposal
|
👍 |
@mollfpr, @mateocole, @thienlnam, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
1 similar comment
@mollfpr, @mateocole, @thienlnam, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bump @mateocole |
Adding a note here for Matt, this issue is also eligible for the 50% bonus (We updated the solution later but it was still within 3 business days that it was decided so all good) |
creating a regression test! |
@mateocole This job is expired so cannot apply. Can you please post new job and invite me? |
Try this link: https://www.upwork.com/jobs/~013f0c8f0725034222 |
@mateocole applied. Thank you |
Okay! Contracts sent |
Alright both payments sent with bonus! |
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:
Keyboard should be dismissed
Actual Result:
Keyboard is not dismissed after tapping outside of email input
Verify that it does not revert this issue - #13920 (comment)
The language picker should still be clickable in sign in page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.59.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/3101971
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5911751_Screenrecorder-2023-01-25-20-05-33-421-1.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: