nuka-carousel
nuka-carousel copied to clipboard
When dragging to change slides, a click event is triggered against the slide.
Repro Steps
- Navigate to Nuka demo app.
- Observe that "Nuka Carousel: Slide 1" is not underlined.
- Use your mouse to drag
slide 1toslide 2.
Current Results
- Carousel transitions to
slide 2. - An onclick event is trigger and "Nuka Carousel: Slide 2" becomes underlined.
Expected Results
- Carousel transitions to
slide 2. - "Nuka Carousel: Slide 2" remains not underlined.
Note: If you use chrome dev tools to simulate touch interacts, you can successfully drag between slides without triggering click events. The unexpected clicks only occur when using mouse drag events.
This issue is based off PR #220 which is too old to merge.
Fix in #220 prevents click event from triggering when dragging slides