gantt icon indicating copy to clipboard operation
gantt copied to clipboard

Popup does not move with the task when dragging

Open mikeott opened this issue 4 years ago • 1 comments

The demo page clearly shows the popup moving along with the task as you drag it, but the repo version does not have this functionality working.

Instead what happens is the popup remains where it is, making it feel as if dragging is broken. But if you keep dragging past the width of the popup then the dragging resumes, but that's not intuitive and for a long time I actually thought this was just broken.

This is how the official repo version works right now:

gantt

Does anyone have a solution to this? If the popup could be moved to above or below the task that would be one solution, but there doesn't appear to be any way to do that.

mikeott avatar Apr 16 '21 14:04 mikeott

search $.on(this.$svg, 'mousedown', '.bar-wrapper, .handle', (e, element) at frappe-gantt.js then add this.hide_popup(); it's working for me

linhnv2590 avatar May 22 '21 06:05 linhnv2590

Unnecessary after #393.

safwansamsudeen avatar Apr 28 '24 13:04 safwansamsudeen