-
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
[$250] When editing comment, copy and paste text that has trailing \n, console error appears and send button changed to grey, can not send #43239
Comments
Current assignee @mallenexpensify is eligible for the Bug assigner, not assigning anyone new. |
Here's clear repro step:
|
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Not exactly, trailing line break can repro, trailing space can not.
Actually, you just need change the comment just a little bit after pasting (e.g. add letter 'a' in what ever place), you can post. By the way, is this issue waiting proposals from external? |
The video you shared correctly explains the bug. Send button is disabled along with console error. |
@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01296f154c567ad13d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Opening this up for proposals, @badeggg , did you want to submit one? |
ProposalPlease re-state the problem that we are trying to solve in this issue.When copy some text with trailing line break( What is the root cause of that problem?"react-native-live-markdown" code here, condition What changes do you think we should make in order to solve the problem?Change this line from: if (nextChar !== '\n') { to if (nextChar !== '\n' && textNodes[i + 1]) { What alternative solutions did you explore? (Optional)N/A |
Hi, I’m Bartosz from SWM I’m currently going through all of the issues that could require any changes to the library. Feel free to tag me if you need anything, later I’ll be diving into the issues more in-depth, but there’s quite a few of them so it can take a while for me to catch up. Oh and feel free to tag me in any live-markdown related issues in the future! 😄 |
Thanks @BartoszGrajdek , I added to the |
Thank you @mallenexpensify 🙌🏻 I've added a more in-depth update here. I'll be looking through proposals in the coming days. What @badeggg is suggesting to change is something that has already caused quite a few problems, so I'd rather test it carefully. |
@eVoloshchak @mallenexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
I believe this was fixed here! Can we get it retested? These changes are also coming into |
Unable to reproduce on web, staging, Chrome. Closing. Thanks @BartoszGrajdek ! |
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: v1.4.80-9
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: @badeggg
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1717559130850559
Action Performed:
Expected Result:
No error logging in console and can send text
Actual Result:
Console error appears and send button changed to grey, can not send
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
cc.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: