Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for devices with mouse and touch at once #118

Open
wclr opened this issue Nov 25, 2015 · 2 comments
Open

Support for devices with mouse and touch at once #118

wclr opened this issue Nov 25, 2015 · 2 comments
Labels

Comments

@wclr
Copy link

wclr commented Nov 25, 2015

It seem that drag designed only support touch or mouse events depending on device type. But there are also device with simultaneous support of both event times (for example windows computers with touch screen)

@wclr wclr changed the title Device with mouse and touch Support for devices with mouse and touch at once Nov 25, 2015
@jdsull3002
Copy link

I've run into this as well. I managed to patch this by changing the jquery++ drag core start,stop, and moveEvents mouse events only.

I also added the advice from this post in my drag initer http://stackoverflow.com/questions/1517924/javascript-mapping-touch-events-to-mouse-events.

Mostly works except for the deprecated MouseEvent syntax.

@jdsull3002
Copy link

Nevermind, I had to just hard code touch tests to false and bind all the event listeners to mouse events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants