-
Notifications
You must be signed in to change notification settings - Fork 36
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
Extend the JQueryAutoCompleteControl to allow setting a option to blur after click #1464
Extend the JQueryAutoCompleteControl to allow setting a option to blur after click #1464
Conversation
…r the input when selection is made by mouse click
|
Sorry, more updates that occured on the issue:
|
Actually however, I didn't even realize that there was a pull-request for this that included the code in |
The default browser action for a click should blur away the input. // don't propagate this to the keydown (if it's triggered by an enter)
event.stopImmediatePropagation();
event.preventDefault();
return false; This code might be causing the issue. We could see if deleting it will fix it. // don't propagate this to the keydown (if it's triggered by an enter)
event.stopPropagation();
event.preventDefault(); This code was copied from a CT2 repo I think. The commit message is no help.
It's changed to match what's there currently in another copy of the CT2 I'd remove the code and see if it fixes the issue. If it does I'd change the It's possible that the workaround was down to a bug in IE where buttons with |
Thanks @briandipalma, that's really helpful. |
There was lots of helpful discussion on this issue that occurred elsewhere. Here's a copy of those messages:
|
…-allow-blur-after-click Extend the JQueryAutoCompleteControl to allow setting a option to blur after click
We want to extend the JQueryAutoCompleteControl to allow us to set the option to blur the input field when the selection is made with a click event.