simeydotme / svelte-range-slider-pips

Multi-Thumb, Accessible, Beautiful Range Slider with Pips
https://simeydotme.github.io/svelte-range-slider-pips/
Mozilla Public License 2.0
465 stars 44 forks source link

[bug] Shift / Ctrl seems not working on certain pipstep/step setups #152

Open simeydotme opened 4 weeks ago

simeydotme commented 4 weeks ago

Describe the bug

When using this code;

<RangeSlider
  id="future"
  pips
  all="label"
  step={1000}
  pipstep={5}
  float
  min={0}
  max={1000000}
  bind:value
  {formatter}
/>

The shift and ctrl modifiers dont appear to be working

To Reproduce

https://svelte.dev/playground/030797781fd64ad88302d1343f5b2c43?version=5.1.3#H4sIAAAAAAAACm1QTU_DMAz9K5ZPIFEGBy5hRULcEWJHwiFd3S6Sm0SJmTZV5beTpJPgQHKJn_0-nBmdmQgVvhs3EuzY9hThzYYE3_DqYXewg2xeJDLe4GCZEqqPGeUcCqkAGb9IPIdwm47EUrDOJPoP33sn5CTL4Dbtow3ypJ0WOwUfBWqKS4gh-gk0rswmlk6TaqsJOZ_Gx0zMVCaBo-EvghYe7sopDdFuu_k1yHf7R1w7AMPcamTTEWssQBIK7XyfBZZSDuyNlMdkXTuv2GRO68Q6pKWzrlfVXbtNNZprtVTHJGemup8a2XeGrzrfn69hhppQgul760aVc4fTmlqETtIYtqNTsM8_RbE2lrpP1cu_WIZQScxGn8sPqoKlXcQBAAA=

simeydotme commented 4 weeks ago

also pgup/dn :/