Completed
Last Updated: 21 Mar 2024 07:49 by ADMIN
Release 2024 Q2 (May)
Michael D
Created on: 07 Apr 2022 07:32
Category: MultiSelect
Type: Bug Report
0
MultiSelect keyboard events bubble although already handled

The multiSelect supports several keyboard shortcuts as documented in https://demos.telerik.com/kendo-ui/multiselect/keyboard-navigation. However, when e.g. a KeyDown event is triggered (and handled) by the widget, its propagation is not stopped. This behavior can be witnessed in this DOJO.

In our case, we e.g. use multiSelects inside dialog windows that can be closed via ESC. When pressing ESC while a multiSelect is focused and open, this not only closes the multiSelect (as expected), but also closes the dialog.

The multiSelect should stop the propagation of events that it handled.

2 comments
ADMIN
Neli
Posted on: 21 Apr 2022 09:19

Hi Michael,

As mentioned in the thread regarding the DropDownList, after a discussion with a developer from the team, it turned out that the issue is a bug on our side. Please accept my apologies for the incorrect information in my previous reply. The status of the report is now changed from 'Declined' to 'Unplanned'. 

As a small token of gratitude, your Telerik points are updated.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Neli
Posted on: 13 Apr 2022 12:00

Hello Michael,

I have just replied in the other thread (linked here) regarding a similar issue in the DropDownList.

The approach described in order to prevent/overwrite the keydown behavior for the DropDownList can be used in MultiSelect as well:

kendo.ui.MultiSelect.fn._keydown = function(e) {
          e.preventDefault()
};

Here is the modified example.

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.