1 min readMar 3, 2020
That fixes that problem, but it looks like there is another bug where the transition always sets back to 0.45s too fast, so you get the weird effect of going to the next slide…then transitioning into the current slide…lol.
I think it might because you are using multiple useState calls, where as I encapsulated all of my slider state into one object. Not sure about that, but it would be great to know if you get that working. I don’t really have the time to check that bug out at the moment.