@worktile/gantt 15.1.1 → 15.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1757,6 +1757,11 @@ class GanttTableBodyComponent {
1757
1757
  source: event.source.data?.origin,
1758
1758
  sourceParent: this.getParentByItem(event.source.data)?.origin
1759
1759
  });
1760
+ // dropEnterPredicate 方法返回值为 false 时,始终未执行 onListDropped,所以只能在 dragEnded 中移除 drag-item-hide
1761
+ const children = this.getChildrenElementsByElement(event.source.element.nativeElement);
1762
+ children.forEach((element) => {
1763
+ element.classList.remove('drag-item-hide');
1764
+ });
1760
1765
  }
1761
1766
  onListDropped(event) {
1762
1767
  if (!this.itemDropTarget) {