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-06-06] [HOLD #37147 RN PR][$2000] iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line #15640

Open
1 of 6 tasks
kbecciv opened this issue Mar 3, 2023 · 147 comments · Fixed by Expensify/react-native-live-markdown#350
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Mar 3, 2023

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:

  1. Open the app
  2. Sign in with any account
  3. Go to any chat
  4. Type anything on the composer until you reach the end of the line

Expected Result:

Cursor in the second and following lines NOT touches the symbols of the previous line

Actual Result:

Cursor in the second and following lines touches the symbols of the previous line

Workaround:

UNknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.2.78.0

Reproducible in staging?: Yes

Reproducible in production?: yes

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

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dac248cbb18d206b
  • Upwork Job ID: 1632682995228594176
  • Last Price Increase: 2023-03-27
Issue OwnerCurrent Issue Owner: @sakluger / @zanyrenney
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 3, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 3, 2023
@MelvinBot
Copy link

Triggered auto assignment to @sakluger (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@MelvinBot
Copy link

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@sakluger
Copy link
Contributor

sakluger commented Mar 6, 2023

I was able to reproduce, this happens for letters that extend below the line (like p and g). In the screenshot below, you can see that the cursor slightly overlaps with the g from the line above.

IMG_08377C094FCA-1

@melvin-bot melvin-bot bot removed the Overdue label Mar 6, 2023
@sakluger sakluger added the External Added to denote the issue can be worked on by a contributor label Mar 6, 2023
@melvin-bot melvin-bot bot unlocked this conversation Mar 6, 2023
@melvin-bot melvin-bot bot changed the title iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line [$1000] iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line Mar 6, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~01dac248cbb18d206b

@MelvinBot
Copy link

Current assignee @sakluger is eligible for the External assigner, not assigning anyone new.

@MelvinBot
Copy link

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 6, 2023
@MelvinBot
Copy link

Triggered auto assignment to @alex-mechler (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@shaunnewsum2020
Copy link

Proposal

Please re-state the problem that we are trying to solve in this issue.

[iOS] Chat: The cursor of the composer is located at the wrong line when touched.

What is the root cause of that problem?

React Native's TextInput component has an issue on iOS regarding the line height - facebook/react-native#28012

What changes do you think we should make in order to solve the problem?

We can fix it by just removing the lineHeight property in the styles.

@MelvinBot
Copy link

📣 @shaunnewsum2020! 📣

Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Screen Shot 2022-11-16 at 4 42 54 PM

Format:

Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@shaunnewsum2020
Copy link

Contributor details
Your Expensify account email: shaunnewsum2020@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01619249d793a96491

@MelvinBot
Copy link

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@melvin-bot melvin-bot bot added the Overdue label Mar 8, 2023
@alex-mechler
Copy link
Contributor

Still waiting for more proposals Melvin

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Mar 8, 2023
@allroundexperts
Copy link
Contributor

@alex-mechler This seems to be something that is the default behaviour on RN Text input for iOS. It is not dependent on the line height of the input. I have created a Snack for you to confirm this. I think we should do nothing here.

Screenshot 2023-03-12 at 4 39 09 AM

@melvin-bot melvin-bot bot changed the title [$1000] iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line [$2000] iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line Mar 13, 2023
@fabOnReact
Copy link
Contributor

Update 22 May 2024

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels May 23, 2024
@fabOnReact
Copy link
Contributor

Update 23 May 2024

Moved PR #42454 to ready for review.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 30, 2024
@melvin-bot melvin-bot bot changed the title [HOLD #37147 RN PR][$2000] iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line [HOLD for payment 2024-06-06] [HOLD #37147 RN PR][$2000] iOS - Chat - Cursor in the second and following lines touches the symbols of the previous line May 30, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 30, 2024
Copy link

melvin-bot bot commented May 30, 2024

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

Copy link

melvin-bot bot commented May 30, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 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-06-06. 🎊

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

Copy link

melvin-bot bot commented May 30, 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:

  • [@marcochavezf] The PR that introduced the bug has been identified. Link to the PR:
  • [@marcochavezf] 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:
  • [@marcochavezf] 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:
  • [@OlimpiaZurek / @Santhosh-Sellavel] Determine if we should create a regression test for this bug.
  • [@OlimpiaZurek / @Santhosh-Sellavel] 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.
  • [@sakluger / @zanyrenney] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@fabOnReact
Copy link
Contributor

fabOnReact commented Jun 1, 2024

Update 1st of June 2024

PR #42454 was reverted because there are issues with react-native-live-markdown. The issues seem to not be related to PR Expensify/react-native-live-markdown#350.

@fabOnReact
Copy link
Contributor

fabOnReact commented Jun 5, 2024

Update 5th of June 2024

Hello @sakluger,

The issue is solved with PRs:

Before After

Should I apply for the Upwork job?
Thanks a lot

Related issues are #17767 and #14445

Copy link

melvin-bot bot commented Jun 6, 2024

Payment Summary

Upwork Job

BugZero Checklist (@sakluger)

  • 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/1632682995228594176/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@sakluger
Copy link
Contributor

sakluger commented Jun 6, 2024

Hey @Santhosh-Sellavel could you please complete the BZ checklist?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jun 7, 2024
Copy link

melvin-bot bot commented Jun 7, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

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.

Copy link

melvin-bot bot commented Jun 9, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

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.

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Jun 9, 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:

  • [@marcochavezf] The PR that introduced the bug has been identified. Link to the PR: N/A
  • [@marcochavezf] 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: N/A
  • [@marcochavezf] 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: N/A
  • [@OlimpiaZurek / @Santhosh-Sellavel] Determine if we should create a regression test for this bug. Yes
  • [@OlimpiaZurek / @Santhosh-Sellavel] 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. Will do in the comment below
  • [@sakluger / @zanyrenney] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

N/A - Because this bug was in upstream issue in react native

cc: @marcochavezf @sakluger

@Santhosh-Sellavel
Copy link
Collaborator

Bug: Chat - Cursor in the second and following lines touches the symbols of the previous line

Proposed Test Steps:

  1. Open the app
  2. Sign in with any account
  3. Go to any chat
  4. Type anything on the composer until you reach the end of the line
  5. Verify Cursor in the second and following lines NOT touches the symbols of the previous line

👍 or 👎

cc: @sakluger @marcochavezf

@Santhosh-Sellavel
Copy link
Collaborator

@sakluger
Can you update the payment summary, please!
It says only $250, this had lot of review work. It was $2000 as you can see it in title, this was on hold mostly due to RN Deploy. Not sure when it got merged as you can see this original facebook/react-native#37147 is still open, I missed this comment it got merged in mention PRs it seems I am unaware because of that. Any please update the payment summary accordingly if there is deduction please let me know, but $250 is really low for the work done here Thanks!

@fabOnReact
Copy link
Contributor

fabOnReact commented Jun 10, 2024

See #15640 (comment) and previous comments.

PR 37147 not merged.

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. Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
Status: No status