fatlinesofcode / ngDraggable

Drag and drop module for Angular JS
MIT License
630 stars 400 forks source link

Offset incorrect when initiating dragging - long press #157

Closed muizsyed closed 9 years ago

muizsyed commented 9 years ago

When initiating a drag, the dragged item appears in the wrong place but only if the page has been scrolled.

I believe this may be related to https://github.com/fatlinesofcode/ngDraggable/issues/142

I have replicated issue here - http://jsfiddle.net/muizsyed/2vgxgmhc/

  1. Decrease the size of the result panel
  2. Scroll until box one is no longer visible
  3. Drag box three
muizsyed commented 9 years ago

Seems to work when upgrading to latest version and setting allow transform to false