Skip to content
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 2024-04-25] Chat - Previous messages jump continuously when opening the native emoji keyboard #40076

Closed
1 of 6 tasks
izarutskaya opened this issue Apr 11, 2024 · 30 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 11, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.62-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4490682
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Open any chat
  2. Tap on the composer to open the keyboard
  3. Tap on the emoji keyboard on the native iOS keyboard (If issue is not reproducible change the iOS settings > Screen > Text Size to another value and repeat. Seems to affect different text sizes on different screen sizes)

Expected Result:

The native emoji keyboard appears without issues for the chat screen

Actual Result:

The native emoji keyboard appears and the previous messages jump up and down until the keyboard is dismissed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6445049_1712779578867.RPReplay_Final1712779145.mp4

View all open jobs on GitHub

@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 11, 2024
Copy link

melvin-bot bot commented Apr 11, 2024

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Apr 11, 2024

Triggered auto assignment to @madmax330 (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@slafortune I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@izarutskaya
Copy link
Author

We think this issue might be related to the #vip-vsb.

@izarutskaya
Copy link
Author

Production

RPReplay_Final1712804276.MP4

@Julesssss
Copy link
Contributor

I can't reproduce on Android mWeb on native, but if reproducible on typical iPhones we should keep the blocker label.

@suneox
Copy link
Contributor

suneox commented Apr 13, 2024

This issue only happens on real iOS device with the largest font size, the smart banner app has the height value is a decimal number but at this line we make round adjust scroll based on window.visualViewport.height and the visualViewport still emit event resize so we can change adjustScrollY to

    const adjustScrollY = clientHeight - window.visualViewport.height;

Before fix

RPReplay_Final1712991859.MP4

After fix

RPReplay_Final1712991896.MP4

@suneox
Copy link
Contributor

suneox commented Apr 13, 2024

I have created the draft PR ready to change the status, and update result for this comment

@madmax330
Copy link
Contributor

@suneox were you able to find an offending PR?

@suneox
Copy link
Contributor

suneox commented Apr 15, 2024

@suneox were you able to find an offending PR?

This issue is an edge case from this PR based on the language and font size the smart banner app has a decimal number so the virtual viewport will resize incorrectly

@madmax330
Copy link
Contributor

Ah ok perfect, thanks. Ok you can make the fix, I assigned you the issue

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Apr 15, 2024
@suneox
Copy link
Contributor

suneox commented Apr 15, 2024

Ah ok perfect, thanks. Ok you can make the fix, I assigned you the issue

I have updated PR status to ready for review

@slafortune
Copy link
Contributor

@madmax330 @suneox I will be out until 4/22, not assigning another BZ since this is in a good place for you all to keep it moving forward 👍

@thienlnam
Copy link
Contributor

CPed this PR, waiting for it to deploy

@thienlnam thienlnam removed the DeployBlockerCash This issue or pull request should block deployment label Apr 16, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 18, 2024
@melvin-bot melvin-bot bot changed the title Chat - Previous messages jump continuously when opening the native emoji keyboard [HOLD for payment 2024-04-25] Chat - Previous messages jump continuously when opening the native emoji keyboard Apr 18, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Apr 18, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 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 2024-04-25. 🎊

For reference, here are some details about the assignees on this issue:

  • @suneox requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Apr 18, 2024

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:

  • [@madmax330] The PR that introduced the bug has been identified. Link to the PR:
  • [@madmax330] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@madmax330] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@suneox] Determine if we should create a regression test for this bug.
  • [@suneox] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 24, 2024
Copy link

melvin-bot bot commented Apr 25, 2024

Payment Summary

Upwork Job

  • ROLE: @suneox paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@slafortune)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@ikevin127
Copy link
Contributor

@slafortune I also require payment here as C+ for reviewing PR #40201, see #40201 (review).

@slafortune
Copy link
Contributor

@ikevin127 please accept the offer sent here - https://www.upwork.com/nx/wm/offer/102036690

@suneox Can you please complete the checklist as well as share your Upworks profile here?

@suneox
Copy link
Contributor

suneox commented Apr 26, 2024

@suneox Can you please complete the checklist as well as share your Upworks profile here?

@slafortune here is my profile

@suneox
Copy link
Contributor

suneox commented Apr 26, 2024

Regression Test Proposal

  • Change device font size
  • Login to mWeb/Safari
  • Open any chat
  • Tap on the composer to open the keyboard
  • Tap on the emoji keyboard on the native iOS keyboard
  • Verify page not jump infinity

Do we agree 👍 or 👎

@ikevin127
Copy link
Contributor

@ikevin127 please accept the offer sent here - https://www.upwork.com/nx/wm/offer/102036690

@slafortune Offer accepted, thank you!

@melvin-bot melvin-bot bot added the Overdue label Apr 28, 2024
@madmax330
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Apr 29, 2024
@ikevin127
Copy link
Contributor

@slafortune Offer accepted, thank you!

Bump on this, when you get the chance. Thanks again!

@slafortune
Copy link
Contributor

Thanks @suneox - offer sent

@slafortune
Copy link
Contributor

@ikevin127 Paid

@suneox
Copy link
Contributor

suneox commented Apr 30, 2024

Thanks @suneox - offer sent

@slafortune Thank you, I have accepted an offer

@slafortune
Copy link
Contributor

@suneox - Paid ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
No open projects
Archived in project
Development

No branches or pull requests

7 participants