A
A
arctic072020-02-06 19:00:50
JavaScript
arctic07, 2020-02-06 19:00:50

Slider Slider. A bug when you touch a slide?

Slider Slider. Bug at the moment when you touch the slide, but do not turn over. In general, I have implemented such a thing:
https://codepen.io/arcticmonkey07/pen/KKwWJMR

Everything works when you poke back and forth, but when you touch the slide a little, everything breaks. The color should change only when the slide reaches its place. But it should start to work on beforeChange.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question