Completed
Last Updated: 09 Jun 2023 14:20 by ADMIN
Release R3.2023-Increment.1(19.July.2023)
klaus
Created on: 15 Sep 2021 13:58
Category: DropDownList
Type: Bug Report
1
Incorrect behavior of virtual DropDownList when using jQuery 3.4.1+

Bug report

In a virtual DropDownList with a value set, the first item is marked as selected as well. The issue occurs when using jQuery 3.4.1 or later.

Reproduction of the problem

  1. Open this Dojo example. - https://dojo.telerik.com/@martin.tabakov@progress.com/UkOmiYEj
  2. Open the DropDownList.

Current behavior

Two items are marked as selected.

Expected/desired behavior

Only the item with value 3 should appear as selected.

Environment

  • Kendo UI version: 2021.3.914
  • **jQuery version: 3.4.1 and later
  • Browser: [all]
3 comments
ADMIN
Dimitar
Posted on: 15 Sep 2022 14:01

Hello Klaus,

We managed to reproduce the issue with SASS themes as well - https://dojo.telerik.com/@Dimitar-Goshev/IyUCODEG . For virtual list there is k-selected class applied to the first dropdown item by default. Then, when the value is changed through the DropDownList's value method, the new selected item has k-selected class applied. But the first item sill has k-selected applied. Thus, there are two items with the respective class. We are increasing the issue's priority. We cannot provide specific time frame for it, but any progress will be noted in the github issue.

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

ADMIN
Martin
Posted on: 15 Sep 2022 12:01

Hello, Klaus,

The bug is not yet scheduled to be fixed. Please note that the issue is only observed with LESS-based themes. It is not reproduced with the kendo.default-ocean-blue, for example. 

Please follow the thread for further development on the matter.

Regards,
Martin
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.

klaus
Posted on: 09 Sep 2022 06:37

This is still happening with the latest Kendo UI jQuery release. See https://dojo.telerik.com/aqErisIY

Also see issue https://github.com/telerik/kendo-ui-core/issues/6567

Any news on a time frame for a fix?

I am surprised this is taking so long as you are usually prettey responsive.
And being stuck with jQuery 1.12.4 is an issue in security audits/pen tests.