Repository navigation
Description
Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[ X] 3.x
I'm submitting a ... (check one with "x")
[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Replication environment: Mac OS X (for PWA)
Different behaviours in Chrome 58.0.3029.96 and Safari Version 10.1 (12603.1.30.0.34) (see videos)
Currently I have replicated the bug on the ionic-preview-app on ionic versions 3.1.1, 3.1.0, 3.2.0
The bug does not happen on 3.0.1.
Description: The key up on the ion-searchbar seems to be broken since 3.1.0 onwards for non latin keyboards. For example I am using a chinese Hanyu pin yin keyboard to type "青山" (qingshan).
However on Safari, the ion-searchbar goes like "qqqiqiqingqinqingqing sqing sqing shqing... ". See video.
On Chrome, the ion-searchbar seems to dismiss the language bar intended to popup.
Expected behavior:
The ion-searchbar should work normally with the different language inputs.
See video.
Steps to reproduce:
-
check out and build the ionic-preview-app and build
-
ionic serve
-
scroll to the ion-searchbar page.
-
change input to chinese and type "qingshan". notice on Chrome the input for chinese does not appear, and on Safari multiple letters appear.
-
Change package.json ionic-angular dependency to 3.0.1
-
remove node_modules and npm install again
-
notice that things work normally.
Related code:
insert any relevant code here
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1 (or 3.1.1 for the bug)
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.5
ios-deploy version: 1.9.1
ios-sim version: 5.0.2
OS: macOS Sierra
Node Version: v7.9.0


Activity
jgw96 commentedon May 9, 2017
Hello, thanks for using Ionic! We will look into this.
miz-k commentedon May 10, 2017
I've also encountered the same symptom after using 3.1.0. when ion-searchbar had worked correctly with 2.x
[-]ion-searchbar bug on 3.1.0 and 3.1.1 for non-latin languages.[/-][+]ion-searchbar bug on 3.1.0, 3.1.1, 3.2.0 for non-latin languages.[/+]nishizhen commentedon May 18, 2017
we have the same bug~~~~
But , this bug just fire on IOS and IOS simulator .
Android works fine!
puku0x commentedon May 18, 2017
I faced the same bug too during inputting Japanese.
I could solve this by replacing from
(input)to(change)in https://github.com/driftyco/ionic/blob/master/src/components/searchbar/searchbar.ts#L37 .woodstream commentedon May 19, 2017
I had compared this version3.0.1 and version3.2.1 that I found to modify this function "Searchbar.prototype._inputUpdated" can fixed it
jgw96 commentedon Jun 1, 2017
Hello all! This is going to be fixed in the next release of ionic in this pr #11586
danielsogl commentedon Jun 1, 2017
@jgw96 you linked to an issue ^^
DavidRyu123 commentedon Jun 4, 2017
@jgw96 It has a android and web issue too. When I type a Korean in ion-searchbar element, Korean alphabets show ㄱㅏㄴㅏㄱㄷㅏㄱ where it should be 가낙닥.
Would you look into this issue too?
Thanks.
global packages:
local packages:
System:
road1987 commentedon Jun 6, 2017
I faced the same problem too . when i am using chinese input method in input[text] . Looks like model would not change after blur event happen on the input box. If using english input method first , there is no problem .
woodstream commentedon Jun 28, 2017
it had fixed on 3.4.0
lxieyang commentedon Jul 26, 2017
@woodstream I'm still facing the same issue.
KevinHongSpigit commentedon Jul 27, 2017
Still getting error with 3.4.0
tscislo commentedon Aug 30, 2017
@DavidRyu123 did you managed to solve your problem? Was that fixed in recent version?
DavidRyu123 commentedon Aug 30, 2017
@tscislo yep. It's solved with update.
tscislo commentedon Aug 30, 2017
Thanks it works for me as well in 3.4.2
skygragon commentedon Jan 30, 2018
I'm using 3.19.1, but still have this issue on IOS.
FdezRomero commentedon Jan 30, 2018
@skygragon That's the version for the Ionic CLI, you have to update
ionic-angularon your project:ionitron-bot commentedon Sep 1, 2018
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.