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.

for the life of me I can’t seem to be able to fire an event for a keypress with arrow keys on a radio button, is this a problem in jsdom, or am I crazy?

  fireEvent.keyPress(myRadioButton, { key: 'ArrowUp', which: 38, keyCode: 38 });

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

7reactions
smeijercommented, Apr 10, 2020

Do you think it should be?

Support for key presses would be very useful. Think of typing ‘hi’ in a textarea, and using ctrl + enter to submit the form.

Or testing if hotkeys still work.

1reaction
testing-library-botcommented, Nov 4, 2020

🎉 This issue has been resolved in version 12.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Arrow keys - Wikipedia
Arrow keys or cursor movement keys are buttons on a computer keyboard that are either programmed or designated to move the cursor in...
Read more >
What Are Arrow Keys? - Computer Hope
It is made up of four keys: the left arrow (back arrow), up arrow, down arrow, and the right arrow (forward arrow). The...
Read more >
Arrow Keys ↑↓←→ Replacement Keycaps for Logitech ...
Original Mechanical keyboard Key caps X 1set · Include 8 red Keys :【 A.S.D.W.↑.↓.←.→ 】 Key puller X 1PC · 100% compatible with...
Read more >
How to make the arrows (↑ ↓ → ←) on your keyboard
1. Make the arrows with keyboard shortcuts under Windows · Make the "left" arrow : Alt + 2 7 : ← · Make...
Read more >
Arrow Key Management Controls
The Postal Service uses a universal key, known as an arrow key, to access collection boxes, outdoor parcel lockers, cluster box units, and ......
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