ngSwipe and horizontal scroll ngSwipe and horizontal scroll angularjs angularjs

ngSwipe and horizontal scroll


I think that it's a concurrency issue with these events. It might work better if you your parent event doesn't rely on the child event. To achieve that:

//add a identifier to your list element<ul class="myList" your-other-attrs></ul>//should proceed can rely on the target element to find out//if the target element belongs (or is) in your list.var shouldActionProceed = function($event) {    return !$($event.target).hasClass("myList") &&  //is myList?        $($event.target).parents(".myList").length == 0; //has parent 'myList'?};

This way, the parent event can work on its on.