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 cf35006 commit 49a44f7
Showing 1 changed file with 5 additions and 2 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 } from '../../core/utils';
import { KEYS, isIE } from '../../core/utils';
import { AbsoluteScrollStrategy } from '../../services/overlay/scroll';

/**
Expand Down Expand Up @@ -286,9 +286,12 @@ 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 (this.isKeyPressed) {
if (isIE() && this.isKeyPressed) {
this.value = eventArgs.target.value;
return;
}

this.value = eventArgs.target.value;
}

/**
Expand Down

0 comments on commit 49a44f7

Please sign in to comment.