Search code examples
kendo-uikendo-multiselect

Kendo UI multiselect flashing after removing item


I am using a kendo multi-select of version(2015.1.521). It is located in the lower side of the page. Widow size is increasing after selecting items. After removing some item from option using x icon, multi-select does not open. Is there any solution?

dojo


Solution

  • I have got a workaround where I am checking for active element. Solution dojo

     $("#required").kendoMultiSelect({
        autoClose:false,
        close: function (e) {
            var activeElement = document.activeElement.getAttribute('aria-owns');
            var currentId = this.tagList[0].id;
            if (activeElement != undefined && activeElement != null && activeElement.includes(currentId)) {
                e.preventDefault();
            }
        }
      });