Issues with the Slides component



I have a problem and a question regarding the Slides component.

The question: How would I go about setting the slide index pro grammatically? I know about the initialSlide option, but I want to change the index after the initialization.

The problem: I need to register a click event on the slider. If I set the click event on the slides component itself, I get the 300ms click delay. But even if I wrap the component with an <a> tag and put the click handling on it instead, I still get the delay. Normally, putting click events on <a> tags or buttons works just fine, with no click delay, but the slider seems to somehow consume the event before the wrapping a-tag gets it. Any ideas on how to get around this?



Hope it’s ok if I bump this.