Japanese character is redundantly inserted into textbox on filter dialog on Safari
Description
As Japanese character is being typed, typed characters are inserted repeatedly.
- igniteui-angular version: 6.1.2
- browser: Safari on iOS / OS X
Steps to reproduce
- Build the attached sample with the following command:
- ng build --base-href "/my-app1/" --prod
- Host the attached sample on IIS (or serve it from your machine by
ng serve --host 10.14.1.129replacing the ip address with yours) - Open the sample on iOS Safari
- Open the filter dialog on "name" field
- Type 'あ' (a on English keyboard)
- Type 'い' (i on English keyboard)
Result
'ああい' is inserted into the filter textbox
Expected result
'あい' is inserted into the filter textbox.
Attachments
Note
iOS version is 11.4.1 (15G77). This is not reproduced on Chrome on Windows 10.
Browsers are using CompositionEvent to handle indirect text input such as Japanese. However CompositionEvent is not fully supported for Safari. That's the reason for this behavior. Probably the composition events are not fired in the proper order. Check the following link for more information:
https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent
@bkulov
The behavior is also reproducible on Chrome browser on iPad. It means this is not limited to Safari browser.
I also notice that the igx-input for grid's global filter has no problem typing Japanese characters on both Safari and Chrome. Can you consider fixing this behavior of igx-input on filter dialog? You can observe the difference using this online sample. https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid_filtering.html

@ymita thanks for the clarification. Will take a look.