svelte-range-slider-pips icon indicating copy to clipboard operation
svelte-range-slider-pips copied to clipboard

[bug] pipstep is incorrect in certain scenario

Open simeydotme opened this issue 10 months ago • 0 comments

Describe the bug When the value of max is over 100, and step is less than 1 (like 0.1), then the number of pips (pipstep) is multiplied instead of divided, so end up with thousands of pips.

To Reproduce https://svelte.dev/repl/5947192ce43f47a1a728b32d733946d7?version=4.2.0

Expected behavior Expect to see a reduced number of pips on the slider by default

simeydotme avatar Aug 13 '23 19:08 simeydotme