RocketChat / RocketChat/Rocket.Chat

New Discussion - Your Message Text Does not wrap correctly

Open
#27,916 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When entering Your Message text in a new Discussion, the text box doesn't wrap properly, sending half of words onto new lines and doing so without a connecting hyphen (screenshots w/ context below)

Steps to reproduce:
  1. Goto any Channel
  2. Click on New Discussion
  3. In the Your Message start typing. The words don't wrap when you get to the end of the line.
Expected behavior:

The text should wrap like in any standard Text Box

Actual behavior:

Words don't wrap correctly and words will be split incorrectly.

Server Setup Information:
  • Version of Rocket.Chat Server: 5.4.2
  • Number of Running Instances: 1
  • NodeJS Version: v14.19.3
  • MongoDB Version: 5.0.12 / wiredTiger (oplog Enabled)
Client Setup Information
  • Desktop App or Browser Version: Browser/Chrome Latest, also happens on Mac Desktop
  • Operating System: Windows 11 and Latest MacOS
Additional context

Attached are some screenshots showing the issue.

Screenshot 2023-01-31 at 20 38 41 Screenshot 2023-01-31 at 20 39 43 Screenshot 2023-01-31 at 20 39 18

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from any Channel by opening New Discussion and typing in the Your Message box, then locate the frontend entry point for that editor. Done means words wrap at the line boundary without being split incorrectly; verify the behavior in Chrome and the desktop app.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.