You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce the behavior:
2. Click on 'Handle'
3. Drag card down
4. See that the cursor position is not correct and the dragImage 'jumps'
Expected behavior
I would expect that the cursor would be exactly at the position on the drag handle when I drag the image.
The problem seems to be the default function for calculating the offset.
I tried to adjust the function, there always seems to be a glitch issue / bug so that the correct position could not be determined.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
If possible please provide a StackBlitz based on this template
https://stackblitz.com/edit/ngx-drag-drop-issue-template-kgmw6q?file=src/app/app.component.html
Steps to reproduce the behavior:
2. Click on 'Handle'
3. Drag card down
4. See that the cursor position is not correct and the dragImage 'jumps'
Expected behavior
I would expect that the cursor would be exactly at the position on the drag handle when I drag the image.
The problem seems to be the default function for calculating the offset.
I tried to adjust the function, there always seems to be a glitch issue / bug so that the correct position could not be determined.
ngx-drag-drop/projects/dnd/src/lib/dnd-utils.ts
Line 162 in d8d4884
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: