DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.27k stars 1.67k forks source link

Drag events not firing on touch enabled devices using mouse #1073

Open theluk opened 8 years ago

theluk commented 8 years ago

When you use a touch-enabled device, which also has a touchpad or mouse support, than mousedown/mouseup events that are used for dragging are not working, when navigating with a mouse.

I for example have a ms surface and when it is in docking station mode, I use my mouse and keyboard. In this scenario I cannot navigate in any of the Raphael examples that use drag. Nothing happens here. To fix this, I need to disconnect my surface from the docking station and use my finger to drag.

What I would expect is: Even when the device supports touch, it should still be able to handle mouse events and not touch events only.