RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.19k stars 10.41k forks source link

Keyboard shortcuts do not work on non-Latin keyboard layout #25037

Open Kyogre opened 2 years ago

Kyogre commented 2 years ago

Description:

Text formatting hotkeys (Ctrl+B (bold), Ctrl+i (italic), etc.), CTRL+K (open search) and maybe other hotkeys, do not work on non-Latin keyboard layout.

Steps to reproduce:

  1. Change keyboard layout to non-Latin
  2. Select some text in the input field

Expected behavior:

Text formatting shortcuts apply formatting, other shortcuts work.

Actual behavior:

Shortcuts do nothing in desktop app / Shortcuts perform default browser actions (open bookmarks panel, etc.).

Server Setup Information:

Tested on https://open.rocket.chat/

Client Setup Information

Additional context

Video demo: https://user-images.githubusercontent.com/2260980/161416503-d9ed02ec-4966-4222-9f91-01626d0dc9c9.mp4

Relevant logs:

-

ankar84 commented 2 years ago

Confirm that!

KarKarbI4 commented 2 years ago

Not only text formatting hotkeys not working, CTRL+K (open search) doesnt work too