| Page 1 of 1 | [ 1 post ] |
|
I am having a problem with my webpage on a touch device, whereby the user drags img tags from a leftpanel to the HTML5 canvas, on the right as the drag gets to the canvas, the img tag disappears and is converted to a sprite on the canvas that is rotating etc
See: http://www.articad-live.com/liveplanner ... creen.html This example is actually "simulating" a click at the moment of contact with the canvas, I have since altered the way it works so that the drag commencement is more internal. But the problem is the same. ie I know that gesturestart and touchstart are not "simulatable". The root of the issue is that the drag starts off the canvas, so the touchstart isn't getting fired in the canvas (which makes perfect sense), but because of that the touch move never fires when the dragging gets over the canvas, so the dragged object is always just getting dropped as soon as your finger gets to the canvas. On a mouse it works because I can catch (mousemove). But this is not something you can do with a touch device. Is there any way I can just skip touchstart and get to touchmove? Thankyou for any help |
| Page 1 of 1 | [ 1 post ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group