Skip to content

Commit 5ec1d0e

Browse files
committed
fix(query-builder): drag&drop dropped chip highlight bug fixed
1 parent 3000304 commit 5ec1d0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

projects/igniteui-angular/src/lib/query-builder/query-builder-drag.service.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,11 @@ export class IgxQueryBuilderDragService {
493493
}
494494

495495
if (child instanceof ExpressionGroupItem) {
496-
if (child === this._targetExpressionItem && !this._dropUnder) {
496+
if (child === this._targetExpressionItem) {
497+
if (this._dropUnder) {
498+
[count] = this.countChipsBeforeDropLocation(child as ExpressionGroupItem);
499+
totalCount += count;
500+
}
497501
targetReached = true;
498502
} else {
499503
[count, targetReached] = this.countChipsBeforeDropLocation(child as ExpressionGroupItem);

0 commit comments

Comments
 (0)