nuka-carousel
nuka-carousel copied to clipboard
If user taps on slide, beforeSlide is called, but not afterSlide
trafficstars
I am using beforeSlide to disable a toolbar once the user starts dragging, and enable it again after dragging, i.e. when afterSlide is fired.
This works, if the drag action actually leads to another slide. If the user just taps the slide, however, beforeSlide is fired, but not afterSlide.
I would expect afterSlide to fire, even if the slide stays the same. Or, even better, if there was an cancelSlide event in this case.