My view looks like this:
<ion-view view-title="{{profile.username}}">
<ion-content id="profile_content" has-bouncing="false" on-swipe-left="onSwipeLeft();">
<p>hello world</p>
</ion-content>
</ion-view>
and inside my controller:
$scope.onSwipeLeft = function() {
alert("swipeLeft");
}
However, it only works half the time. The first time I swipe, the alert shows up. The second swipe, nothing happens. The third time, it does. And so on. Can’t figure out what is causing this behavior.
Thank you.