-
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 2022-12-23] [$2000] [Bug] Keyboard being open/closed changes position of ToS on certain mobile platforms - reported by @gadhiyamanan #11277
Comments
Triggered auto assignment to @JmillsExpensify ( |
I'm on iOS, so I'm unable to reproduce. That said, can you clarify exactly what you mean by "instruction goes up?" I'm not following what the issue is here. Thank you! |
@JmillsExpensify here instruction means By logging in, you agree to the... , when you click on the phone field there is a large gap between the continue button and the instruction. after typing any word, space will remove it's reproduced on android |
Ok thanks. Still unable to reproduce since I don't have an android device. That said, I have a suspicion that this is yet another symptom of our keyboard implementation. @roryabraham do you mind confirming if you think my hunch is right? If so, I'll update the issue title, put this issue on hold, and add it to the main tracker. |
Okay, I was able to reproduce this, going to update the OP to add some additional details then I agree we should add it to the keyboard tracking issue (cc @tgolen) |
Thanks @roryabraham! I'll handle adding to the keyboard tracking issue. |
Added clarification and consistent reproduction steps, removed the |
Also for transparency I was testing with a physical Pixel 4a |
Thanks @roryabraham. |
Still on hold. |
1 similar comment
Still on hold. |
You can see here where I've added it. If you don't put it in the right spot in the view hierarchy, then you get a bunch of funky layout issues (like everything smooshed into 50 pixels at the top of the page, or the page not spanning the full vertical height).
I appreciate the thought, but I think that would be one of the worst solutions 😬 so I would want to avoid that at all costs. I also find that I think all that we should focus on right now are:
I've updated my PR to achieve this, but some of the styles need cleaned up. I accomplish it by adding some margin to the bottom of the terms container when the keyboard is open. However, this has several drawbacks:
iOS - shows the janky animation2022-12-12_14-28-54.mp4Android - shows the extra margin at the bottom2022-12-12_14-30-53.mp4 |
hehe yup, my brain went there, but it just felt soooo wrong 😆
Yup, the
Gotcha, thanks for clarifying. Sorry I haven't had the chance to dive into your PR, but my next steps are clear. I'll help you look into those styling issues today. I'll also add myself as a reviewer. Thanks for those screen recordings! |
To clarify, Tim opened a PR earlier that included fixes for this issue on iOS Native. So on Tim's PR, the
|
For the password form on Mobile Chrome, the When I mean "too many items", compare these screenshots of the password form on the same Android emulator on both Android Native (right) and Mobile Chrome (left): Notice how Mobile Chrome (left) includes a nav bar and a password bar, all which occupy just enough height for the We could reduce the margins/padding of everything on the screen to get it to fit, but since you can still scroll down to see the cc @tgolen Do you agree with my read on this one? |
Hey, that's a good comparison and summary, @jasperhuangg. I agree with you that there isn't anything more we need to do. From talking about it with Shawn in Slack, these changes are probably get thrown out at some point because we are going to be adding a footer with links to these pages which will be below the fold. Because of that, I think I can go ahead and clean up my PR, and we can merge it with the fixes it contains, and close this out. What do you think? |
Totally agree! I definitely think we should keep the changes from your PR since we'll probably need them later on anyways when we add the footer. Thanks for keeping everyone on the same page and your help on this issue! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.40-3 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 2022-12-23. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
I'm checking off most of those as NA since this has been an issue ever since the page was built |
Great thank you! I'll circle back on the regression test/payment once I return on Tuesday. |
Alright, circling back on this issue for the payment. It's due tomorrow, so let's make sure all is in order before then. @sobitneupane I've just invited you to the Upwork job. Mind accepting? |
@gadhiyamanan You're also eligible for the reporting bonus. Please apply to the Upwork job. |
@JmillsExpensify applied |
Thanks offer sent! Also I closed the loop on the regression test, so I'm crossing that off above in the BZ checklist. |
Summarizing how payments will shape out.
|
Just realized that I didn't get around to paying this out before the Christmas holiday in the US, so I've just circled back and paid out both Contributors per the payments above. We already have a keyboard regression test is play, so I'm closing out this issue. |
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:
Expected Result:
Actual result:
Workaround:
None
Platform:
Where is this issue occurring?
Version Number: 1.2.4-0
Reproducible in staging?: need repro
Reproducible in production?: need repro
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
iOS - Both forms are broken
ios.login.broken.mov
ios.password.broken.mov
Mobile Safari - Both forms are broken
mobile.safari.login.broken.mov
mobile.safari.password.broken.mov
Mobile Chrome - Interestingly, it appears to work on the login form, but not the password form
mobile.chrome.password.broken.mov
mobile.chrome.login.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1661843853973199
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: