fix: hide popup while resizing or dragging events (#249)
This commit is contained in:
parent
8f0b83d27d
commit
3371a57ed0
@ -699,7 +699,7 @@ export default class Gantt {
|
||||
bars.forEach(bar => {
|
||||
const $bar = bar.$bar;
|
||||
$bar.finaldx = this.get_snap_position(dx);
|
||||
|
||||
this.hide_popup();
|
||||
if (is_resizing_left) {
|
||||
if (parent_bar_id === bar.task.id) {
|
||||
bar.update_bar_position({
|
||||
|
||||
@ -64,5 +64,6 @@ export default class Popup {
|
||||
|
||||
hide() {
|
||||
this.parent.style.opacity = 0;
|
||||
this.parent.style.left = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user