-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$500] In edit message, cursor shifts back on inserting emoji #27273
Comments
Triggered auto assignment to @stephanieelliott ( |
Job added to Upwork: https://www.upwork.com/jobs/~01c31527ad022a2246 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @kevinksullivan ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.In edit message, cursor shifts back on inserting emoji What is the root cause of that problem?the root cause is incorrect calculation for selection after text lenght change
for more details about root cause see #17275 What changes do you think we should make in order to solve the problem?apply the same fix here
const remainder = ComposerUtils.getCommonSuffixLength(prevDraft, newDraft); What alternative solutions did you explore? (Optional)we can also use commentRef.current instead of prevDraft |
The proposal from @ahmedGaber93 LGTM 👌 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @amyevans, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I don't think the |
Okay sorry, just checked the linked Slack thread, I think the HOLD was intentional. So @ahmedGaber93 please don't start on a PR yet. |
Held on #27195 |
Still on hold |
Still on hold for #27195, |
1 similar comment
Still on hold for #27195, |
Friendly bump @kbecciv |
I went ahead and tested, I am not seeing the behavior anymore so it seems like this is fixed. Closing! |
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:
Cursor should shift to end of text after emoji is added
Actual Result:
Cursor shifts back few characters after emoji is rectified in edit mode
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.68.12
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
cursor.shifts.back.after.rectifying.emoji.edit.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694189660065529
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: