onClick event in android webview too slow -
i've got feeling javascript pretty fast in andorid webview, there long delay between touching element , onclick event beeing fired.
i imagine feature if navigate between pages - first see highlight on element, , see effect (navigation). applications, slow.
is there way change behavior?
or there maybe event should go for, onhover or ontouch? fires way before onclick?
this known 'issue' related 300ms due user tapping/zooming @ display:
http://updates.html5rocks.com/2013/12/300ms-tap-delay-gone-away
in near future, seems solved, in static sized layouts, adding information @ header. actual webkit webview version not have/consider option.
in case, solution use tappy lib:
https://github.com/filamentgroup/tappy
just import it, , bind each element has click event, , see difference.
just 1 more point: adjusted timer 100000ms (default:1000ms) avoid event repetition in specific cases.
Comments
Post a Comment