Skip to content

Commit

Permalink
fix(filtering): chip not added while typing in JP on Edge #3599
Browse files Browse the repository at this point in the history
  • Loading branch information
SAndreeva committed Jan 14, 2019
1 parent 49a44f7 commit e4d4892
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { IChipSelectEventArgs, IBaseChipEventArgs, IgxChipsAreaComponent, IgxChi
import { ExpressionUI } from './grid-filtering.service';
import { IgxDropDownItemComponent } from '../../drop-down/drop-down-item.component';
import { IgxFilteringService } from './grid-filtering.service';
import { KEYS, isIE } from '../../core/utils';
import { KEYS } from '../../core/utils';
import { AbsoluteScrollStrategy } from '../../services/overlay/scroll';

/**
Expand Down Expand Up @@ -286,12 +286,9 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
public onInput(eventArgs) {
// The 'iskeyPressed' flag is needed for a case in IE, because the input event is fired on focus and for some reason,
// when you have a japanese character as a placeholder, on init the value here is empty string .
if (isIE() && this.isKeyPressed) {
if (this.isKeyPressed) {
this.value = eventArgs.target.value;
return;
}

this.value = eventArgs.target.value;
}

/**
Expand Down

0 comments on commit e4d4892

Please sign in to comment.