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.

Inaccessible shortcuts on non-QWERTY keyboards

See original GitHub issue

Hi,

First try on the app, I search for a grid. I find it in the shortcuts section and try to toggle it using Ctrl+' but nothing. I am using an AZERTY keyboard and I’m not sure why. I’ve looked at keydown & keyup events and they are what I expect:

// in the console, in the excalidraw tab
document.addEventListener('keydown', console.log)
document.addEventListener('keyup', console.log)

// the events when I press Ctrl then press ' then release ' then release Ctrl
keydown Control { target: body, key: "Control", charCode: 0, keyCode: 17 }
keydown Control { target: body, key: "'", charCode: 0, keyCode: 52 }
keyup Control { target: body, key: "'", charCode: 0, keyCode: 52 }
keyup { target: body, key: "Control", charCode: 0, keyCode: 17 }

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
dwellecommented, Feb 18, 2021

Hello. It’s not a backtick, but ' as you first suggested. We’ve had problems with this particular key, so we’re using the physical location instead of the printable character (in fact, you wouldn’t be able to type Ctrl + ' on AZERTY as that’s Ctrl + 4 which is reserved by the browser).

As such, you can press it, but on AZERTY it’s the ù character (thus Ctrl + ù) ↓

image

2reactions
eproxuscommented, Apr 4, 2022

I’m using Dvorak on macOS and can’t for the life of me figure out what key to actually press to show the grid. Can we get a GUI button for this? Or even better, re-bindable keys? 🙂

Switching to US International I also can’t press <kbd>Cmd</kbd>+<kbd>'</kbd>, nothing happens.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keyboard shortcuts on non-QWERTY keyboard layouts
On a QWERTY keyboard copy and paste are conveniently positioned as Ctrl+C and Ctrl+V, but on Dvorak they are pretty inconvenient (equivalent to ......
Read more >
Why keyboard shortcuts don't work on non-US ... - Hacker News
On a tangent, why are non-qwerty keyboards so poorly designed for programming? And specifically, why is apple's azerty layout so terrible?
Read more >
Why Keyboard Shortcuts don't work on non-US Layouts and ...
This is most annoying when the most important keyboard shortcuts are inaccessible. A very common shortcut is / for accessing search ...
Read more >
Keyboard shortcuts aren't working - Figma Community Forum
If you're unable to apply keyboard shortcuts to FigJam objects, this is a bug! ... do NOT work on non-QWERTY keyboards even in...
Read more >
Non-QWERTY Keyboard Shortcuts Issue - Knowledge Base
We have identified an issue that prohibits on-screen shortcuts and gestures from working properly with non-QWERTY keyboard inputs.
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