cato.js icon indicating copy to clipboard operation
cato.js copied to clipboard

Keyboard controls are inverted on vertical sliders

Open herrfugbaum opened this issue 7 years ago • 0 comments

Describe the bug The keyboard controls are inverted on vertical sliders due to the rotate(90deg) style attribute. If you change it to -90deg the indicator works as expected but now the slider flips its direction.

To Reproduce Steps to reproduce the behavior:

  1. Focus the range input
  2. Use the arrow keys to navigate the slider
  3. See error

Expected behavior The slider needs appropriate keyboard support. Pressing the up arrow key should move the slider and it's indicator up, the down arrow key should do the opposite.

herrfugbaum avatar Nov 11 '18 10:11 herrfugbaum