아마도 네이티브 코드에 답변이 있지만 찾을 수 없습니다.
그래서 플러그인을 추가하여 수정했습니다. Draggable.prototype.draw
// if((!this.options.constraint) || (this.options.constraint=='horizontal'))
// style.left = p[0] + "px";
// if((!this.options.constraint) || (this.options.constraint=='vertical'))
// style.top = p[1] + "px";
if((!this.options.constraint) || (this.options.constraint=='horizontal'))
style.left = ((this.options.mouseOffset && point[0]) || p[0]) + "px";
if((!this.options.constraint) || (this.options.constraint=='vertical'))
style.top = ((this.options.mouseOffset && point[1]) || p[1]) + "px";
에이 라인을 변경하고 내가 드래그를 만들 때 난 내 자신의 사용자 지정 옵션을 설정
mouseOffset: true