File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/igniteui-angular/src/lib/query-builder Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const Z_INDEX_TO_SET = 10010; //overlay z-index is 10005
1010/** @hidden @internal */
1111@Injectable ( )
1212export class IgxQueryBuilderDragService {
13-
13+
1414 /** The ExpressionItem that's actually the drop ghost's content */
1515 public dropGhostExpression : ExpressionItem ;
1616 public isKeyboardDrag : boolean ;
@@ -32,7 +32,7 @@ export class IgxQueryBuilderDragService {
3232
3333 /** Get the dragged ghost as a HTMLElement*/
3434 private get getDragGhostElement ( ) : HTMLElement {
35- return ( document . querySelector ( '.igx-chip__ghost [ghostclass="igx-chip__ghost"]' ) as HTMLElement ) ;
35+ return ( document . querySelector ( `. ${ QueryBuilderSelectors . CHIP_GHOST } [ghostclass="${ QueryBuilderSelectors . CHIP_GHOST } "]` ) as HTMLElement ) ;
3636 }
3737
3838 /** Get the drop ghost chip component */
@@ -44,7 +44,7 @@ export class IgxQueryBuilderDragService {
4444 return this . _queryBuilderTreeComponentElRef . nativeElement . querySelector ( `.${ QueryBuilderSelectors . FILTER_TREE } ` ) ;
4545 }
4646
47-
47+
4848 public register ( tree : IgxQueryBuilderTreeComponent , el : ElementRef ) {
4949 this . _queryBuilderTreeComponent = tree ;
5050 this . _queryBuilderTreeComponentElRef = el ;
You can’t perform that action at this time.
0 commit comments