@@ -129,9 +129,6 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
129129 @ViewChild ( 'inputGroup' , { read : ElementRef , static : false } )
130130 protected inputGroup : ElementRef ;
131131
132- @ViewChild ( 'dropDownTarget' , { read : ElementRef , static : false } )
133- protected inputGroupDate : ElementRef ;
134-
135132 @ViewChild ( 'inputGroupPrefix' , { read : ElementRef , static : false } )
136133 protected inputGroupPrefix : ElementRef ;
137134
@@ -449,9 +446,7 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
449446 if ( focusedElement . className === 'igx-chip__remove' ) {
450447 return ;
451448 }
452- if ( ! ( focusedElement &&
453- ( this . inputGroup !== undefined ? this . inputGroup . nativeElement . contains ( focusedElement ) :
454- this . inputGroupDate . nativeElement . contains ( focusedElement ) ) )
449+ if ( ! ( focusedElement && this . inputGroup . nativeElement . contains ( focusedElement ) )
455450 && this . dropDownConditions . collapsed ) {
456451 this . commitInput ( ) ;
457452 }
@@ -490,7 +485,7 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
490485 /*
491486 * noop
492487 */
493- public noop ( ) { }
488+ public noop ( ) { }
494489
495490 /**
496491 * Event handler for date picker's selection.
@@ -541,8 +536,7 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
541536 public onChipPointerdown ( args , chip : IgxChipComponent ) {
542537 const activeElement = document . activeElement ;
543538 this . _cancelChipClick = chip . selected && activeElement &&
544- ( this . inputGroup !== undefined ? this . inputGroup . nativeElement . contains ( activeElement ) :
545- this . inputGroupDate . nativeElement . contains ( activeElement ) ) ;
539+ this . inputGroup . nativeElement . contains ( activeElement ) ;
546540 }
547541
548542 public onChipClick ( args , item : ExpressionUI ) {
0 commit comments