On-tap with long duration


According to the docs


Quick touch at a location. If the duration of the touch goes
longer than 250ms it is no longer a tap gesture.

How to trigger event in case user presses the button, holds for more than 250ms, and releases it (while the finger is still in the button area)?
I tried on some native apps, the event is triggered but not in ionic app (on-tap, ng-click).

Hence the ionic button does not feel native. Is there a normal way to work around this issue?


You should use on-hold directive.
Ionic documentation for on-hold


on-hold triggers even if i didn’t release the button.


You need to disable swipe back on ion-nav-view