import com.google.gwt.user.client.ui.HasEnabled;
import com.google.gwt.user.client.ui.Widget;
import com.vaadin.client.ApplicationConnection;
+import com.vaadin.client.BrowserInfo;
import com.vaadin.client.WidgetUtil;
import com.vaadin.client.widgets.FocusableFlowPanelComposite;
import com.vaadin.shared.Registration;
// checkbox is disabled
return;
}
-
+ if (BrowserInfo.get().isWebkit() || BrowserInfo.get().isIE11()) {
+ // Webkit does not focus non-text input elements on click
+ // (#11854)
+ source.setFocus(true);
+ }
Boolean selected = source.getValue();
JsonObject item = optionsToItems.get(source);