#8 new
Michael Chernetsov

Autocomplete control does not show div with variants in safari when russian(?non-latin) letters entered

Reported by Michael Chernetsov | May 15th, 2008 @ 05:12 PM

Autocomplete control does not show div with variants in Safari(?WebKit) when russian(?non-latin) letters entered.

How to reproduce:

Create any Autocomplete control and start typing any russian(non-latin) letters. Even if variants contain matches no popup will appear.

Where to dig for cause and solution:

onKeyPress for Autocompleter.Base contains a line

 if(event.keyCode == Event.KEY_TAB || event.keyCode == Event.KEY_RETURN ||
            (Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return;

And as we have Safari and event.keyCode comes 0 for russian letters popup is not displayed.

Had to comment last condition for my project.

Comments and changes to this ticket

  • Chris Davaz

    Chris Davaz July 7th, 2008 @ 07:28 AM

    • Tag set to autocomplete, controls, scriptaculous

    Also see this ticket which was incorrectly submitted to the wrong project:


    It has to do with Chinese input and how the IME takes control of the keyboard. I have also come across this problem as I am developing an app that takes Chinese characters in some input fields and my suggestions were a bit flaky (sometimes they would come and sometimes not).

  • Vivek Jazz

    Vivek Jazz January 22nd, 2019 @ 09:25 AM

    A mind blowing things are available in this game, so just click here http://bejeweled3.co and create a happiest moment on your free time, you have to play this bejeweled in anytime and anywhere.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.
<br/><b>Source available from github</b>
The Git repository resides at:
<a href="http://github.com/madrobby/scriptaculous">http://github.com/madrobby/scriptaculous</a>
<br/>Check out the current development trunk with:
<code>git clone git://github.com/madrobby/scriptaculous.git</code>
<br/>As <b>script.aculo.us 1.xx is feature-frozen</b>, this development trunk is for <b>bugfixes only</b>.
<br/>New development should happen only for
<b>script.aculo.us 2</b>.
<br/><b>Creating a bug report</b>
When creating a bug report, be sure to include as much relevant information as possible. Post a an example that shows off the problem. Preferably, <b>alter the unit tests</b> and show through either changed or added tests how the expected behavior is not occuring.

People watching this ticket