Skip to content

Instantly share code, notes, and snippets.

<div class="app-root" ng-controller="rootController">
<div class="carousel">
<!--
I have a UI Bootstrap carousel with some slides in it. Each slide
needs to be both clickable and swipeable, with a mouse (this problem
is not an issue on mobile).
The problem I'm having is that when you swipe with a mouse click,
letting the mouse up at the end of the swipe will trigger the click