Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

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

Closed
wtetsu opened this issue Jun 10, 2011 · 9 comments
Closed

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

wtetsu opened this issue Jun 10, 2011 · 9 comments
Assignees
Milestone

Comments

@wtetsu
Copy link

wtetsu commented Jun 10, 2011

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:
https://forum.jquery.com/topic/search-input-bug-clear-button-isn-t-visible-when-i-input-multibyte-string-inot-textbox

@toddparker
Copy link
Contributor

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

@wtetsu
Copy link
Author

wtetsu commented Aug 11, 2011

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.
#1812

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

@ghost ghost assigned gseguin Aug 11, 2011
@eddiemonge
Copy link
Contributor

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.

@wtetsu
Copy link
Author

wtetsu commented Dec 19, 2011

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:
http://www.youtube.com/watch?v=g0S1uRPixkM&feature=player_embedded

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)

@toddparker
Copy link
Contributor

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

@toddparker
Copy link
Contributor

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.

@jaspermdegroot
Copy link
Contributor

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

@toddparker
Copy link
Contributor

@uGoMobi - worth a try.

@ghost ghost assigned jaspermdegroot Dec 3, 2012
@jaspermdegroot
Copy link
Contributor

This issue should be fixed by commit a743616

jaspermdegroot added a commit that referenced this issue Dec 3, 2012
Fixes problems with multibyte. See issues #1811 and #2834.
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

5 participants