-
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-11-06] [$500] Android- 2FA- Input filed hides behind the keyboard #26695
Comments
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@JmillsExpensify Still overdue 6 days?! Let's take care of this! |
I agree we should do something. |
Job added to Upwork: https://www.upwork.com/jobs/~014386eb856f1f9542 |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The input field is hidden behind the keyboard on the 2FA verify step on Android. What is the root cause of that problem?The keyboard avoiding view does not seem to be working for the magic code input on Android possibly due to the fact that the ScrollView is not scrollable before the soft keyboard is visible. The ScrollView only becomes scrollable after the soft keyboard has been displayed, so the avoiding view behaviour does not work as expected. What changes do you think we should make in order to solve the problem?Solution 1
Solution 2
Solution 3
<ScrollView
style={styles.mb5}
keyboardShouldPersistTaps="handled"
+ ref={scrollViewRef}
+ onLayout={() => {
+ if (!scrollViewRef.current) {
+ return;
+ }
+ scrollViewRef.current.scrollToEnd();
+ }}
> Solution 4 What alternative solutions did you explore? (Optional)None. |
@akinwale Are we using such pattern anywhere else in our app? |
@allroundexperts I could not find anywhere else this pattern is being used. I did find a |
ProposalI've updated my proposal with a second solution. Here's a video showing how that would work. Note that the entire screen (including the footer) will be scrollable when the soft keyboard is visible. EDIT: I tested this on a smaller screen, and it still doesn't scroll up the input as expected. Solution 1 seems to be the best option for now until I can identify another root cause. 26695-solution-2.webm |
@JmillsExpensify @allroundexperts this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@JmillsExpensify, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@allroundexperts Any thoughts here? I added a third solution to my proposal which simplifies things a bit. |
@JmillsExpensify, @allroundexperts Eep! 4 days overdue now. Issues have feelings too... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@JmillsExpensify, @allroundexperts 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@allroundexperts bump |
@JmillsExpensify @allroundexperts this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.92-4 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-06. 🎊 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:
|
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:
|
@allroundexperts Do you mind kicking off the BZ checklist? |
Checklist
Regression test
Do we 👍 or 👎 ? |
@JmillsExpensify, @akinwale, @allroundexperts, @roryabraham Huh... This is 4 days overdue. Who can take care of this? |
@JmillsExpensify, @akinwale, @allroundexperts, @roryabraham Eep! 4 days overdue now. Issues have feelings too... |
1 similar comment
@JmillsExpensify, @akinwale, @allroundexperts, @roryabraham Eep! 4 days overdue now. Issues have feelings too... |
@JmillsExpensify bump for payment |
@JmillsExpensify, @akinwale, @allroundexperts, @roryabraham Still overdue 6 days?! Let's take care of this! |
Doesn't look like this one got merged in three days, which gives us the following payment summary:
If that looks good to everything then I'll issue payouts. |
$500 payment approved for @allroundexperts based on summary above. |
I've sent upwork offers because I didn't see any automatic ones that went out. cc @gadhiyamanan @akinwale |
Accepted. Thanks! |
@JmillsExpensify i think reporting bonus should be $250 because it was reported before 30Aug |
@gadhiyamanan That makes sense. Please accept the offer and I'll pay out accordingly. |
@JmillsExpensify offer accepted, thanks! |
Everyone paid out! Will close after creating the regression test. |
Regression test done, so closing! |
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:
Input filed should not behind the keyboard same as other platforms
Actual Result:
Input filed hide behind the keyboard
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.60.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
Notes/Photos/Videos: Any additional supporting documentation
Screen_Recording_20230831_153811_New.Expensify.1.mp4
Screen_Recording_20230826_110448_New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693029869469049
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: