After updating the version of Kendo we are using to 2022.1.412 we noticed a weird behavior in the DropDownLists. Clicking the drop down arrow once opens the list, then clicking the arrow again closes and re-opens the list instead of just closing it. Note that this does not happen while clicking on any other part of the drop down to close it, selecting an item from the drop down, or clicking outside the drop down list. It only happens while clicking on the arrow button.
Behavior can be seen in the demos on these pages:
https://demos.telerik.com/kendo-ui/dropdownlist/template
https://demos.telerik.com/kendo-ui/dropdownlist/grouping
https://demos.telerik.com/kendo-ui/dropdownlist/cascadingdropdownlist
However the behavior does not appear on these pages:
https://demos.telerik.com/kendo-ui/dropdownlist/virtualization
https://demos.telerik.com/kendo-ui/dropdownlist/serverfiltering
Steps to Reproduce:
TL;DR: The DropDownList widget cannot be closed by clicking the arrow-icon.
The long story:
After the DropDownList has been opened once, it closes and reopens every time the user clicks the arrow-icon. Closing the DropDownList still works when clicking anywhere on the dropDown except the arrow-icon (or rather the button around it) or anywhere else but the dropDown. This DOJO demonstrates the problem. Animations have been disabled to allow easier reproduction (with animations on, the problem appears only occasionally, probably because of timing issues).
If you look closely, you will notice that the dropDown closes when the mouse button is pressed and reopens when the mouse button is released (this is when the click event is fired). Therefore, the problem can be (temporarily) mitigated by suppressing the mousedown event on the dropDown's wrapper element.
In our application, we have the requirement to display the DropDownList's filter textBox only if there are more than a specific number of items in the DropDownList. Therefore, we count the items everytime they change (i.e. an item is added/removed or perhaps all items are replaced) and then update the DropDownList's filter setting accordingly via setOptions().
Additionally, we use the dataBound() event for internal UI tweaks and therefore access the e.sender object.
This DOJO demonstrates that e.sender has a different structure before and after setOptions() is called. For instance, the list property does no longer exist. Check the console output, the event object is logged every time dataBound() is called.
Interestingly, this only happens when passing a complete (but updated) object to setOptions() and not when passing only a partial options object. Still, re-setting options to the same value as before should not interfere with any event args.
When the width of the DropDownList is set using the list.width and the DropDownList gets open there is a slight delay of expanding the popup width.
There is a delay of expanding the popup width.
####Workaround
$('.k-popup').width(600);
Dojo
There should be no delay when the width od the DropDownlist is set..
The change event is not fired when using the keyboard navigation in the DropDownList, if we first click in the filtering input.
Item is selected, but the 'change' event is not triggered. If we do not focus on the filtering input, the change event will be fired. It will be fired also if the mouse is used. - screencast
The change event should always be fired when the selection in the DropDownList is changed, even if the user clicks in the filtering input.
See Dojos. When setting the "filter" property with setOptions, the search box does not appear anymore.
Regression after 2023.1.425 (tested with 2023.2.718)
Before:
https://dojo.telerik.com/iwiyOkac
After:
https://dojo.telerik.com/UrOHuBeD
When the dataSource in the DropDownList is grouped and the user searches for a non-existing value after scrolling, an error is thrown in the browser`s console.
The following error appears in the browser: kendo.all.js:324317 Uncaught TypeError: Cannot read properties of null (reading 'offsetTop')
There should be no error when searching for non-existing value is performed.
Bug report
`DropDownListSelectEvent.dataItem` is undefined when using keyboard to select the optionLabel, but is defined when using the mouse
Reproduction of the problem
Steps
Dojo: https://dojo.telerik.com/IvEXOvUH
Make a selection (e.g. "Apples").
Select the optionLabel item.
Expected
The value of DropDownListSelectEvent.dataItem is the same whether the selection is made via keyboard or mouse (assumedly).
The value of DropDownListSelectEvent.dataItem is clearly specified in the API docs when selecting the optionLabel.
Actual
The value of DropDownListSelectEvent.dataItem is "Select an option…" when selecting with the mouse.
The value of DropDownListSelectEvent.dataItem is undefined when selecting with the keyboard.
Environment
Kendo UI version: 2024.1.130
Browser: [all]
The cascade event is triggered on initialization of the DropDownLists
The cascade event is triggered on initialization
The event should be triggered when the value of the "parent" DropDownList is changed.
In the DropDownList component with filtering, opening the dropdown on a mobile device and attempting to type in the search field causes the popup to close immediately.
Regression introduced with 2025.1.211
The DropDownList popup closes immediately when tapping the search field on a mobile device.
The DropDownList popup should remain open when tapping the search field on a mobile device, allowing users to enter text and filter options.
When the DropDownList is configured with autoWidth:true, each opening of the component increases the width of the popup with 1px
The width of the popup increases with each opening
The width should remain the same