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

any key (for example shift), that adds no character to the input field, hides the list #31

Open
cyberbeat opened this issue Jul 29, 2013 · 0 comments

Comments

@cyberbeat
Copy link

example search for "xxxY":

I type "xxx" and get some suggestions (list opened)
then I press "shift" (list closes immediatly) and hold shift to combine shift-key with "y" to write "xxxY"

The list should not hide, when pressing shift. also other keys like ctrl, pos1, insert,.. are affected.

I use chromium version 30.

The problem in source code:

the default action for the delayedKeyRepeat-Event for the field is "setupList", which hides the list, when the field-value is unchanged. I don't understand, why it hides then. For me it works fine, when I comment the line 341 like

    setupList: function(){
        this.inputedText = this.elements.field.node.get('value');
        if (this.inputedText !== this.oldInputedText){
            this.forceSetupList(this.inputedText);
        } else {

// this.elements.list.hide();
}
return true;
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant