RocketChat / RocketChat/Rocket.Chat

Keyboard Shortcut To Navigate message not working

Open
#35,230 7 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:

I had been using rocket chat for quite some time now and was exploring the keyboard shortcuts for the messages that I type. I faced a problem where if I tried to use the keyboard shortcut to navigate to the top or to the bottom of the message, it wouldn't work.

Steps to reproduce:
  1. Go to any room
  2. type a multi line message
  3. try pressing alt+up or alt+down
Expected behavior:

the text cursor should have navigated to the top of the message on pressing alt + up according to shortcuts list.

Actual behavior:

nothing happens

Server Setup Information:

latest production version

  • Version of Rocket.Chat Server:
  • License Type:
  • Number of Users:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
Client Setup

Mozilla Firefox 128.7.0esr
Debian GNU/Linux 12 (bookworm) x86_64

Additional context
Relevant logs:

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 in a room using a multiline message, then test Alt+Up and Alt+Down in Firefox on Debian. Trace the keyboard-shortcut handling for the message composer; the payload names no source file or test. Done means the cursor reaches the top or bottom as described in the shortcuts list.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.