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.

[Q] Why skip keyboard processing on alt-key?

See original GitHub issue

Making issue because @robdodson looped in @alice:

Looking at the JS implementation of OAA’s tab panel they are skipping their keyboard processing code when the alt key is pressed. Any idea why that is?

tabpanel.prototype.handleTabKeyPress = function($tab, e) { 
  if (e.altKey) { 
    // do nothing 
    return true; 
  } 

  switch (e.keyCode) { 
  // ...
  }
}

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
alicecommented, Feb 15, 2017

Makes sense - if someone is using the Alt key they’re probably using a keyboard shortcut for something else. e.g. JAWS uses Alt+up/down arrow to read previous/next sentence.

0reactions
surmacommented, Feb 16, 2017

@notwaldorf I meant the more nuanced version of course. I meant “add it to all the elements where necessary”. oops 🙄

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Desktop thinks the ALT key is always pressed.
My desktop thinks that the ALT keys is always pressed. Sometimes it is continuosly pressed and sometimes it is pressed rapidly maybe one...
Read more >
Tech Savvy Tips and Tricks: Keyboard Shortcuts
Option+left arrow: Skip to the beginning of the previous word. You can press the left arrow multiple times to skip several words. Shift+Option+right...
Read more >
Alt key: basics and important key combinations - IONOS
Shortcut keys make frequently used functions faster. In this article, you'll find an overview of the most important Alt key shortcuts.
Read more >
Keyboard Differences - Switching to the Mac - O'Reilly
Mac and PC keyboards are subtly different. Making the switch involves two big adjustments: figuring out where the special Windows keys went (like...
Read more >
24 Hidden and Overlooked Premiere Pro Keyboard Shortcuts
Editing shortcuts · Select at playhead: D · Select next clip: Ctrl+Up/Down · Select edit points: Ctrl+Lasso · Ripple Trim: W and Q...
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