Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searchbar on iphone6 could not fire the (input) event when input chinese word #5584

Closed
bibitoo opened this issue Feb 24, 2016 · 3 comments
Closed
Assignees
Milestone

Comments

@bibitoo
Copy link

bibitoo commented Feb 24, 2016

Short description of the problem:

Input a chinese word must type and pick a word.
when type, the searchbar (input) event fire. but then pick a chinese word, the (input) event does not emit.

What behavior are you expecting?

after pick a chinese word, the searchbar (input) event fire.

Steps to reproduce:

  1. focus searchbar input field.
  2. switch to chinese input keyboard.
  3. type "li", the (input) event fire every key up. Pick a chinese word "李", the (input) event dos not emit.
html:
<ion-searchbar [(ngModel)]="q" (input)="onSearch($event)" (cancel)="onCancelSearchbar($event)" (clear)="onClearSearchbar($event)"
 cancelButtonText='{{"common.cancel" | translate }}'></ion-searchbar>
js:
    onSearch(event){
        this.datas = [];
        this.pageNo=1;
        this.pagination();
    }

Ionic Version: 1.x / 2.x
2.0
Browser & Operating System: iOS / Android / Chrome
iOS

Run ionic info from terminal/cmd prompt:

Your system information:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.1
Gulp local:  
Ionic Version: 2.0.0-beta.1
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
OS: Distributor ID: Ubuntu Description: Ubuntu 15.10 
Node Version: v4.3.0

@brandyscarney brandyscarney self-assigned this Feb 24, 2016
@brandyscarney brandyscarney added this to the 2.0.0-beta.4 milestone Mar 1, 2016
@brandyscarney
Copy link
Member

Are you saying that when you click one of the Predictive Words it doesn't trigger the input? I am able to trigger the input by selecting a Chinese letter from the Cangjie and Zhuyin keyboards, but when the text is suggested and I click it I see that it doesn't trigger the input. Just want to make sure we're seeing the same issue!

chinese-keyboard

@bibitoo
Copy link
Author

bibitoo commented Mar 12, 2016

Yes, please help me out this problem

@brandyscarney
Copy link
Member

So the issue was actually because the searchbar was triggering the input change on keyup and since the text suggestion wasn't a "keyup" it wasn't being called. This should be fixed in the next release, thanks for the issue!

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants