Declined
Last Updated: 30 Nov 2021 10:41 by ADMIN
Shady
Created on: 24 Nov 2021 01:01
Category: Kendo UI for jQuery
Type: Bug Report
1
jQuery Kendo menu's keyboard accessibility breaks when datasource is re-read

Hello,

I've noticed that any attempt at calling `dataSource.read()` on a datasource attached to a Kendo Menu results in keyboard accessibility breaking.

 

Steps to reproduce:

1. Use this code as a starter: https://dojo.telerik.com/IJOyUzEX/2

2. Notice that tabbing to the menu works the first time 

3. Activate the menu and close it.

4. Now try to tab into the menu again. It does no longer work.

 

Are there any better methods to have Kendo Menu dynamically generate the list everytime an open event is triggered?

1 comment
ADMIN
Dimitar
Posted on: 30 Nov 2021 10:41

Hi,

Updating Kendo UI Menu dataSource in Menu event handlers is not supported as this may break the association between Menu items and dataSource, e.g. the new dataSource may not contain the currently opened menu item or any menu item we are currently interacting with using either mouse or keyboard. I am afraid that there is no workaround for this behavior.

Regards,
Dimitar
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/.