monkeytypegame / monkeytypegame/monkeytype

Keymap doesn’t highlight "لا" as a Single Key in react mode ( arabic_101 / arabic_102 Layout).

Open
#6,411 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
20.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

Did you clear cache before opening an issue?
  • I have cleared my cache
Is there an existing issue for this?
  • I have searched the existing issues
Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

byseif21

Account config

No response

Current Behavior

When pressing the "لا" key (only one key) on an Arabic keyboard (arabic_101 or arabic_102 layout), the keymap in react mode does not highlight it as a single key. Instead, it displays two separate key presses: ل + ا.

Image

Expected Behavior

The keymap should highlight the "لا" key as a single keypress, just like other single keys on the keyboard.

Image

Steps To Reproduce

No response

Environment
  • OS: Windows 11
  • Browser: Chrome
  • Browser Version: 134.0.6998.178 (Official Build) (64-bit)
Anything else?

The issue only occurs when using a physical Arabic keyboard with the keymap layout (Arabic 101 / 102). However, when enabling the Layout Emulator (Arabic 101 / 102), the keymap correctly recognizes the "لا" key as a single keypress.

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

Start by reproducing the issue in React mode with a physical Arabic 101 or 102 keyboard, then compare it with the working Layout Emulator behavior. Trace how the keymap handles the single "لا" key versus the separate ل and ا presses; done means the physical key highlights as one keypress.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.