vue-slider-component
vue-slider-component copied to clipboard
Dots switch position when changing data and value props sequentially
Describe the bug
When updating the data and the value props sequentially, the slider breaks inverting the second and the third dot.
Repro: https://jsfiddle.net/thetoninho/f2cq67rg/16/
Steps:
- Open the repro
- Open the console
- Run
test()in the console - You should see the second and the third dot inverting
Environment (If you feel unrelated, please delete the block)
- Vue version: tested on 2.5.2 (repro) and 2.6.12
- Component Version: 3.2.15