Skip to content

[bug] pipstep is incorrect in certain scenario #110

Open
@simeydotme

Description

@simeydotme

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvestigatingNot quite sure if it's valid, yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions