Using Kendo UI for ASP.MVC with jQuery, version 2022.1.301. Here are the steps:
- Click in multi select
- Drop down appears
- Select any item
- Drop down closes - This is the issue
- Click in the multi select again
- Drop down appears
- Toggle any item(s) on or off and it will now stay open and work perfectly fine!
- Click outside the multiselect and it closes as expected
The issue is step 4. I have been debugging through kendo.all.js and I can provide a small bit of inside. The issue lies at line 64,761 which is a function called _inputFocusout. When I click in the multiselect in step 1, the input box is focused and the cursor is blinking. When I click in it the second time the cursor doesn't show, rather "1 item(s) selected" is showing. So the focus out event doesn't happen now, and it works.
Oddly this works in the demos but I can't see anything I am doing wrong.
@(Html.Kendo().MultiSelectFor(m => m.SelectedEmployees)
.AutoBind(true)
.AutoClose(false)
.BindTo(employeesSmall)
.DataTextField("NameFirstLast")
.DataValueField("Id")
.Name("employees")
.TagMode(TagMode.Single)
)