microsoft / microsoft/azurechat
Newlines disappearing in chat window
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 1
Description
If I submit a message that contains newlines, they are removed from the chat window once the message is submitted.
Would it be possible to change that behavior?
As I am not a React expert, any pointers to the location in the code would also be helpful.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the React component that renders submitted messages in the chat window and inspect how message text is displayed. Reproduce the issue with a message containing newlines, then verify that the submitted message preserves those line breaks in the chat window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100