-
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 2024-08-01] [$250] Cannot select a word in native iOS composer if composed message have an emoji #44495
Comments
Triggered auto assignment to @lschurr ( |
Job added to Upwork: https://www.upwork.com/jobs/~01a59336e899fcaa47 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Let's add this to the Live Markdown project @mountiny |
@mountiny is this still open for proposal? I am working on it |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cannot select a word in the native iOS composer if the message contains an emoji. What is the root cause of that problem?Originally, React Native had an issue with
React Native fixed this by ignoring all attributes in such cases. However, this fix caused Expensify/react-native-live-markdown#293 and #41390, and was reverted by Expensify/react-native-live-markdown#318. What changes do you think we should make in order to solve the problem?Making clones of - return [newText isEqualToAttributedString:oldText];
+ NSMutableAttributedString *newTextCopy = [newText mutableCopy];
+ NSMutableAttributedString *oldTextCopy = [oldText mutableCopy];
+ [newTextCopy removeAttribute:@"NSFont" range:NSMakeRange(0, newTextCopy.length)];
+ [oldTextCopy removeAttribute:@"NSFont" range:NSMakeRange(0, oldTextCopy.length)];
+ [oldTextCopy removeAttribute:@"NSOriginalFont" range:NSMakeRange(0, oldTextCopy.length)];
+ return [newTextCopy isEqualToAttributedString:oldTextCopy]; What alternative solutions did you explore? (Optional)N/A |
@QichenZhu Could you please provide more details about the suggested fix for this problem? |
Proposal@tomekzaw Sure, here's the updated proposal. Thanks! |
Thanks, sounds good to me. Can we proceed with the PR so we can test out the changes? |
I don't have much experience with objective-c, but I believe @tomekzaw reviewed. Probably @QichenZhu can provide a video of the result before the assignment? |
Before: before.mp4After: after.mp4 |
Thanks, @QichenZhu. It looks good to me! Let's move forward with @QichenZhu proposal then! 🎀 👀 🎀 C+ reviewed! |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @QichenZhu 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Any update @tomekzaw? |
Reviewing the PR, sorry for the delay |
PR has been reviewed and merged ✅ |
There is a PR #45556 to update |
@QichenZhu Let's ask @thienlnam |
Yeah. since that PR has already been reviewed let's wait to bump it until after that is merged. Then it can go through another series of tests since we've seen issue things pop up when jumping versions before |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-5 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-08-01. 🎊 For reference, here are some details about the assignees on this 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:
|
Payment summary:
|
No offending PR!
The regression step should be good!
|
Thanks @mollfpr - adding QA test request |
$250 approved for @mollfpr |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.2-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
Expensify/Expensify Issue URL:
Issue reported by: @mountiny
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1719405668302249
Action Performed:
Expected Result:
Able to select word by long press or by double tapping
Actual Result:
Unable to select by long press or by double tapping
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
RPReplay_Final1717078125.MP4
RPReplay_Final1719422598.MP4
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @lschurrThe text was updated successfully, but these errors were encountered: