javascript - Google Chrome touch events not firing -


i'm building touchscreen kiosk using chrome (7.0.536.2 dev) in kiosk mode on windows 7 pc multi-touch display.

i can see ontouchstart event available (by inspecting window object in webkit web inspector) never fires. if write following code, onclick event fires when touch screen ontouchstart event doesn't.

window.onclick = function() { alert("click"); } window.ontouchstart = function() { alert("touchstart"); } 

in firefox 4 moztouchdown event fires without problems.

are these events not yet available javascript?

thanks,

nick

i experienced when developing ipad webapp , tried test in chrome. turned out, chrome recognizes events, not fire them @ moment. bit frustrating, since breaks support detection in javascript.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -