question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option + Arrow not working in image demo.

See original GitHub issue

Do you want to request a feature or report a bug?

bug

What’s the current behavior?

Noticed this when evaluating slate: In the image demo, trying to move the cursor with Option + Left/Right Arrow (macos)

For the text above the image, option + left arrow works as expected, but option + right arrow moves only 1 character per keypress.

For the text below the image, it’s the opposite: option + right arrow works, while option + left arrow moves 1 char at a time.

Tried in macos 10.13, Chrome, FF, Safari

slate_cursor_word_move

What’s the expected behavior?

The option key should modify the cursor behavior to move words in both directions.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ericedemcommented, Oct 16, 2018

@PierBover Yep you should be able to override this default with a custom event handler.

https://docs.slatejs.org/walkthroughs/adding-event-handlers

The Slack channel is not very active and the docs are either outdated or focused on the end user (not the contributor).

In my experience usually someone will answer within a few hours in the slack channel if you have a question, at least in PST time. And yea, there aren’t really any docs on the codebase itself AFAIK; but it is pretty easy to read in general, I’ve just been learning as I go.

0reactions
PierBovercommented, Oct 22, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix: Arrow Keys Not Working on Photos App - Technipages
If you can't use the arrow keys on Microsoft Photos, select all the photos and hit Enter to open the first image.
Read more >
6 Best Fixes for Arrow Keys Not Working in Photos App on ...
If the Arrow keys are not working in the Photos app on your Windows 11 computer, here are the best fixes to solve...
Read more >
Arrow keys not functioning in image viewer
Started recently. Arrow keys no longer move between zoomed images. Now required to use the mouse, which is very slow. Please restore this...
Read more >
No next/previous arrows in Photos App - Microsoft Community
Since updating to Windows 11 the Photos app is no longer letting me arrow through my photos in a folder. They just aren't...
Read more >
Arrow Keys Not Working in Excel? 5 Ways to Troubleshoot
If your arrow keys are not working in Excel, there are a few simple ways to troubleshoot and solve this problem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found