0

Is it possible to detect e.ctrlKey inside a text input field? As soon as the cursor is inside a text field, I only get keyup events:

enter image description here

The text field is a textarea:

enter image description here

The event listener is set correctly because I detect keypress events for normal letter keys, as well as keydown events when the textarea is not focused.

Florian Walther
  • 5,407
  • 3
  • 32
  • 84

0 Answers0