react-component / slider

React Slider
https://slider.react-component.now.sh/
MIT License
3.02k stars 764 forks source link

Manipulating range sliders with arrow keys does not respect `allowCross` prop #882

Open justinpchang opened 1 year ago

justinpchang commented 1 year ago

Example:

<Slider
  allowCross={false}
  range
  vertical
  reverse
  value={...}
  min={1}
  max={10}
  dots
  handleRender={...}
  onChange={...}
/>

If you click on a slider handle and use the arrow keys to go up and down, you can cross the other slider even though allowCross is set to false.