Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

On-swipe-left only works half the time

$
0
0

@Doozy wrote:

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.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>