-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$2000] mWeb - Extra space is displayed below the text box #8731
Comments
Triggered auto assignment to @luacmartins ( |
This can be external |
Triggered auto assignment to @arielgreen ( |
Waiting for the job to be exported! |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Current assignee @luacmartins is eligible for the Exported assigner, not assigning anyone new. |
PROPOSALPROBLEM AND SOLUTION
Above points when applied removes the extra space displayed below the text box. |
@aneequeahmad The issue seems to come from the browser toggling the navigation bar and the window not resizing properly to fill in the extra space. I think that we should address that behavior in the solution. |
@luacmartins Please look at the screenshots I have attached below and explained in steps.
Solution
|
@aneequeahmad The space is expected when the keyboard is not active. There is much more space when the keyboard is active. Check image below |
This space is reserved for messages like
This is also expected, since it accounts for the temporary messages I described above + 1 line compose input + timezone message. We should not remove this. As @Santhosh-Sellavel described, there's much more space that shows up once the navigation bar is hidden or the keyboard is displayed and that's the behavior that we should address. |
Still looking for proposals! |
@liyamahendra that is one of the causes. Another one is when the browser's address search bar is toggled (by scrolling the page) |
ProposalProblemIt is a known bug on iOS Mobile Safari, where extra spacing is added to the bottom of the page when the keyboard pops-up. SolutionThe workaround solution to this bug in mobile safari, is to snap & scroll the page back to the bottom end of the body when the keyboard has finished showing up completely. Since the resize event didn't work on mobile safari, I resolved to using Following is the my code for the above workaround fix:
Below is the screencast showing the workaround fix in action. The page automatically scrolls back to the top of the keyboard leaving no empty space visible to the user. I tested it with both bottom URL Address bar and top URL Address Bar. update.mp4@Santhosh-Sellavel Let me know your thoughts! |
I see when keyboard is space below composer( message input box) is reduced than usual size. How your solution works on android mWeb, iPad & Android tablet mWeb ? |
@liyamahendra We don't accept workarounds, I believe that's the case here too. We are looking for a full fledged solution that's solves the issue and doesn't cause regression on any other platform. cc: @luacmartins |
@Santhosh-Sellavel @liyamahendra I think we would also need to consider custom keyboards here, and text inputs that may not be at the bottom of the screen. |
I agree with @Santhosh-Sellavel and @jrstanley! @liyamahendra thanks for the proposal, but I believe that your solution is hardcoding values and is not accounting for potential different devices/keyboard types and spaces that are not at the bottom of the screen. |
Moving this to a weekly as we look for more proposals |
@luacmartins |
Issue not reproducible during KI retests. (First week) |
Since not reproducible, should we close? |
Interesting! Maybe something changed on the OS/browser side 🤔 @arielgreen let's keep the issue open for another week to see if it's reproducible during the next KI retests. Meanwhile, let's NOT increase the price anymore. |
@luacmartins @mvtglobally I still repro it 173244700-4765ef52-61a7-4f94-a414-0c5fff7ea914.mov |
@ahmdshrif I managed to repro as well. You're welcome to send a proposal if you are interested. |
Still, we are open to proposals here. |
Still looking for proposals |
@luacmartins is there a reason we're not increasing price? We shouldn't sit endlessly on issues; if it's valuable enough to fix, we should pay for it. If not, we should close it. |
Thanks for the ping @arielgreen! I'll just close this issue. This seems to be a well-known bug and any solutions would be a complex workaround. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
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:
No extra space is displayed below the text box
Actual Result:
Extra space is displayed below the text box
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.56.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): n/a
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5541421_QA.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: