angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

Drag functionality is not working in chrome #407

Closed kmeado closed 8 years ago

kmeado commented 8 years ago

The demo site https://angular-ui.github.io/ui-calendar/ works fine however when implementing the code (exactly as the demo is) into my project the drag functionality fails in chrome. Drag does work in opera, safari, firefox, edge and ie though ... Im not sure how to approach this

martin-langhoff commented 8 years ago

In general, this works for me :-)

Find the difference between the demo and your code. That's what I do when something works on the demo site but isn't working in my app. Not easy, I know.

Note that, in my experience, the Chrome desktop browser has a "tablet" mode for testing but it does not emulate touch.

kmeado commented 8 years ago

Actually I found the issue. My laptop is a touch screen and for some reason chrome gets confused on my site. If I disable touch events through chrome://flags then it works perfect (minus the touch capability) not sure why chrome is screwing this up as it works fine with touch or click on the demo site ...? It seems that for my site chrome either wants to be touch OR click but does not like to understand both. The odd thing is that I am building a rather robust application and yet this is the ONLY plugin which has this issue. I use jquery sortable elsewhere and it works seamlessly whether touch or click so idk,

martin-langhoff commented 8 years ago

Using vs not using touchpunch might be interesting to test.

In any case, closing this issue.