harvesthq/chosen — Issue #456: Setting focus to the chosen control opens the drop down
Author: PilotBob
Created: 2012-01-19 22:47:09+00:00
State: open

I am using jQueryUI tabs and in the show event I and setting focus to the first visible input control on the form:

$("#tabs").tabs({
show: function (event, ui) { $("input:text:visible:first", ui.panel).focus(); }
});

However, when the first control in a chosen multi select list box it opens the drop down.

How can I keep this from happening? (other than excluding chosen decorated controls from the selector?)

BOb