On-hold event not working


#1

This on-hold method is working

<ion-list>
<ion-item on-hold="action()">List line
</ion-item>
</ion-list>

But this on-hold method is not working

<ion-list>
<ion-item ng-repeat="x in xes" on-hold="action()">{{x.desc}}
</ion-item>
</ion-list>

Which restriction is defined for this case to not run on-hold method? May not every list items has own on-hold event?


#2

On-hold works for me.


#3

After several hours i see my ionic version is obsolte. Beta 8 has bug. After the upgrade problem fixed. Thank you @mhartington


#4

Ha, yeah beta 8 had a small issue with the gesture directives. Always a good thing to test against the nightly builds and make sure the issue wasn’t taken care in there.


#5

1.1.0 version has an issue. hold-on only execute once. delete button will show, but can’t hide

I onle change the version of ionic.css and ionic.js


#6

same for me, with ionic 1.1.0 the on-hold is working only unreliable (50 % success)
I tested it on different Android devices (4.4.2, 4.4.4) with crosswalk web-view plugin


#7

By the way, I found a workaround which works for me:

but it seems to be better to use the overflow-scroll=‘true’ for the specific ion-content, like described in docs
see: http://ionicframework.com/docs/api/provider/$ionicConfigProvider/