RocketChat / RocketChat/Rocket.Chat

Cursor can't move up/down after a smile.

Open
#33,353 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Search before asking
  • I had searched in the issues and found no similar issues.
Operating System
  • macOS
  • Windows
  • Linux
Operating System Version

macOS 14.6.1, but I think it doesn't depend upon OS.

It happens on the web browser too?

Yes.

Rocket.Chat Desktop App Version

4.1.0

Rocket.Chat Server Version

0 (Don't know)

Describe the bug

Cursor can't be moved up and down right after a smile (:) for example).
While you can do it from inside a smile (between : and )).

How to Reproduce
  1. Type several lines (say, 3) of text.
  2. Type a smile in the end of any line.
  3. Try to move the cursor up or down right after that.
  4. It can't move.
Describe your Expected behavior

Cursor can be moved in any direction from any place of message.

Anything else

This occurs every time during typing the message.

Are you willing to submit a code contribution?
  • Yes, I am willing to submit a Pull Request!

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

No source file, test, or entry point is named. Reproduce the issue in the message composer using several lines and a smile such as :), then trace the cursor handling until the affected editor code is identified; done means the cursor can move up or down immediately after the smile.

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
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.