Skip to content

Commit fd05909

Browse files
committed
fix(filtering): Refine elem class search #9333
1 parent be244a8 commit fd05909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/filtering/base/grid-filtering-row.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
446446
requestAnimationFrame(() => {
447447
const focusedElement = document.activeElement;
448448

449-
if (focusedElement.className === 'igx-chip__remove' || focusedElement.tagName === 'IGX-DAY-ITEM') {
449+
if (focusedElement.classList.contains('igx-chip__remove') || focusedElement.tagName === 'IGX-DAY-ITEM') {
450450
return;
451451
}
452452

0 commit comments

Comments
 (0)