pzprjs icon indicating copy to clipboard operation
pzprjs copied to clipboard

Pressing shift only toggles input target sometimes

Open tckmn opened this issue 5 years ago • 1 comments

In puzzles like Sudoku or Kakuro, you can input numbers into the four corners of empty cells. When using the keyboard, pressing shift should theoretically toggle which corner you're inputting into:

https://github.com/robx/pzprjs/blob/c26a5789b2a19010b5549c97b1a384b1acfde196/src/variety-common/KeyInput.js#L31

However, when I press shift, it only has a ~40% chance of working each time (??), and does nothing otherwise.

Firefox 71 on NixOS. (The issue is not present on Chromium 78.)

tckmn avatar Jan 24 '20 20:01 tckmn

As one further datapoint, Firefox 71 on macos seems to be fine.

robx avatar Jan 24 '20 21:01 robx