Open coolara opened 7 years ago
Hi coolara,
Your code will be slow on iOS for sure. That's not because of updating an input value, but because of the usage of (click)
, there is a 300ms latency.
You should replace you're event by touchend
or something like that. Doing so, keep in mind that touch events aren't recognized by browsers without mobile emulation.
You need to add the tappable
directive to you button. Check the doc:
http://ionicframework.com/docs/troubleshooting/#click-delays
It seems not solve my problem,I follow your advice, when I tap quickly number'6' for five times. until I tap the last time , they all appear, When I tap each time.nothing appear
Have you tried using touchend
? (just to confirm)
yes also try touchstart
Well ok, can't really help actually, it's not even related to the keyboard plugin actually :p
many thanks keyboard plugin seems to have similar problem. when I click so quickly it is nonfluency;just on iphone5 ,
Hum, by "just on iPhone 5" you mean you tested on other devices without those kind of issues ?
yeah
Oh ok well then, it's maybe a more general issue related to the device and libs support.
can you find a way to solve it?or give me some advice,thank s I'm afraid I've taken your so much time.
Ha ha don't be afraid. Well since I can't test on a real iPhone 5 device, it's not gonna be easy. Also, I'm focussing on the keyboard next release stuffs :-/
hi @skol-pro ,i'm coming back.. i found out when i click quickly ,iphone5 cpu used 99%,it may cause not smoothly, how it happened
<div>{{stringName}}</div>
<button (click)="changModel()">click~</button>
ts.