angular - Windows tap takes long to respond -
i've created ionic 2 app. have buttons set this:
<button class="my-button" (tap)="dosomething()" tappable></button>
now tappable
should remove 300ms delay on tap.
the ionic docs aren't great on gestures here's demo of how tap should work
the problem encounter that, when build windows, buttons still slow respond tap event. why this? on ios , android, they're both quick.
i thought might have loading pages after clicking button isn't case since normal buttons on page
$ cordova platform version windows installed platforms: android 5.0.0 ios 4.3.1 windows 4.4.3
please note using (click)
instead of (tap)
doesn't solve issue.
edit 1: in emulator issue not occur.
i not using ionic, found (tap) doesn't work on touch screens. helped me:
touch-action used disable delay of click events caused support double-tap zoom gesture.
button{ touch-action: manipulation; }
Comments
Post a Comment