Skip to content

An error is thrown when you move all ListBox items #7616

@martintabakov

Description

@martintabakov

Bug report

When moving all the items from the right ListBox to the left, an error is thrown on the console.

Regression with 2022.3.1109

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/onazUkoT/9
  2. Open the console.
  3. Move all the items from the left ListBox to the right

Workaround:

kendo.ui.ListBox.ToolBar.fn._focusTool = function() {
          if(this.element) {
            this.element.find(".k-button").not("[tabindex=-1]").trigger("focus");
          }
        };

Current behavior

An error is thrown.

Expected/desired behavior

No errors should be thrown.

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions