Completed
Last Updated: 03 Jan 2019 17:09 by ADMIN
ADMIN
Peter Milchev
Created on: 09 Jun 2016 12:10
Category: ComboBox
Type: Bug Report
0
ComboBox dropdown stays open if you click on SearchBox

		
2 comments
ADMIN
Rumen
Posted on: 03 Jan 2019 17:09
Will be fixed in R1 2019 due in mid-January.
ADMIN
Peter Milchev
Posted on: 09 Jun 2016 12:16
Temporary workaround: Handle the OnClientLoad event of the SearchBox. Event handler implementation:

var $ = $telerik.$;
function onSearchClientLoadHandler(sender, args) {
    $(sender.get_inputElement()).focus(function () {
        var comboBoxes = Telerik.Web.UI.RadComboBox.ComboBoxes;
        for (var i = 0; i < comboBoxes.length; i++) {
            var combo = comboBoxes[i];
            if (combo.get_dropDownVisible()) {
                combo.toggleDropDown()
            }
        }
    });
}