Skip to content


Subversion checkout URL

You can clone with
Download ZIP


search input: clear button isn't visible when I input multibyte string #1811

wtetsu opened this Issue · 9 comments

5 participants


A clear button on text field isn't visible when I input multibyte string(Japanese) into textbox.
(I don't know about Chinese, Korean, and so on)

screen shot:


Any ideas on what we'd need to do to fix this? I'm not as familiar with mutibyte.


I think that onkeyup event isn't reliable way in this case.

I can reproduce it to use voice input on android(Galaxy S).
Probably, you can reproduce by using voice input in English.

I think setInterval is better way, so I pulled request.
But I don't know whether this is best way or not.

By the way, both multibyte and voice input works fine on Google top page search field for smartphone .

@gseguin gseguin was assigned

How are you inputting the multibyte character? This sounds like it could be two different issues. The first is the multibyte and the second is alternative methods of inserting text into an input field.


I I think that both the two issues are essentially the same.

  • Clear button on search field appears when keyup event occurred.
  • There are several ways to input text into textbox without keyup event.

One of the ways is voice input on android, and one of the ways is frick input...

I'm using frick input to input Japanese on iPhone:

By the way, I Tested again.

I can reproduce the problem on iPhone4(iOS4.3.5)
I cann't reproduce on iPhone4S(iOS5.0.1)


If you have a suggestion on how to improve this, please post it here. Since we're not familiar with this setup, any insight is helpful


We added a few additional triggers for this including paste in addition to keyup but I don't think polling is going to be acceptable. SInce nobody seems to have ideas on other events we can tie into, closing as won't fix. We'll give this a look if anyone can suggest an approach to look into.

@toddparker toddparker closed this

@toddparker - I think we need to bind to the input event as well to solve this. See #2834


@uGoMobi - worth a try.


This issue should be fixed by commit a743616

@jaspermdegroot jaspermdegroot referenced this issue from a commit
@jaspermdegroot jaspermdegroot Textinput: Toggle clear button on input event as well.
Fixes problems with multibyte. See issues #1811 and #2834.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.