ngDraggable icon indicating copy to clipboard operation
ngDraggable copied to clipboard

Touch doesn't seem to work when loaded via requirejs

Open adilici opened this issue 10 years ago • 3 comments

The examples work well with touch dragging, but when I tried to incorporate the library in my angular + require project, I found that touch dragging stops working (in Chorme for Android). Mouse dragging still works.

I've put up a small example app here: https://github.com/adilici/test_ngDraggable_require index.html is the entry point for the require code - it's basically the reorder example but translated to use require as I need it in my project.

Do you think this is a problem with ngDraggable or do I need to do something special to load the module with require?

adilici avatar May 26 '15 10:05 adilici

I ran into the same issue today. Did you manage to find aby workaround or find the source of our trouble?

michal-filip avatar Jun 01 '15 09:06 michal-filip

The only thing I can think of is that ngDraggable may need to be loaded after bootstrap in order to work with touch. Unfortunately, that's not an really option in my project.

adilici avatar Jun 02 '15 10:06 adilici

Scratch that... I just downloaded the new version from 3 days ago and now it works. Improvisio, maybe you should try it as well.

adilici avatar Jun 02 '15 12:06 adilici