ink icon indicating copy to clipboard operation
ink copied to clipboard

useInput doesn't detect CTRL + arrow key

Open CyriacBr opened this issue 3 years ago • 0 comments

Currently, this never can be true:

useInput((input, key) => {
  key.ctrl && key.upArrow // nope
});

Although, ctrl is pressed, key.ctrl returns false when paired with an arrow key.

CyriacBr avatar Dec 25 '20 20:12 CyriacBr