Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different behaviour in Mac between RTL and LTR, when using CMD + left/right and OPT + left/right #18

Open
glicksman opened this issue May 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@glicksman
Copy link

Hi,

The correct behaviour is when the block is LTR:

  1. CMD + left arrow = Home (move cursor to start of block)
  2. CMD + right arrow = End (move cursor to end of block)
  3. OPT + left arrow = move cursor one word backwards
  4. OPT + right arrow = move cursor one word forwards

However, when the block is in RTL mode, this doesn't work.

Ideally, this will be implemented similarly to the LTR behaviour, but with the arrows switched, i.e.:

  1. CMD + left arrow = End (move cursor to end of block)
  2. CMD + right arrow = Home (move cursor to start of block)
  3. OPT + left arrow = move cursor one word forwards
  4. OPT + right arrow = move cursor one word backwards

@ahangarha, I would be happy to tip money to have this implemented

@ahangarha
Copy link
Member

Thanks for sharing the issue.

Let's clarify the issue. What is the current behavior?

  1. The key combination doesn't work at all (the cursor doesn't move on RTL text)
  2. The key combination works but is opposite to the expected direction.

@glicksman
Copy link
Author

glicksman commented May 8, 2024 via email

@ahangarha ahangarha added the bug Something isn't working label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants