Skip to content

Using the iconClass property in Grid toolbar configuration leads to extra span #8242

Open
@nelito987

Description

@nelito987

Bug report

When there is iconClass option set in the Grid toolbar an extra span with 'k-sprite' class is rendered. If icon: 'none' is added to the items configuration, then the additional span does not appear.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/JkrjieZO
  2. Open the overflow menu and inspect the last two items

Current behavior

All items except the last one have the span as in the image below:

Image

The span leads to an extra space.

Expected/desired behavior

There should be no extra spaces when the iconClass option is used.

Wokraround

<style>
    .k-sprite{
      display: none
    }
  </style>

https://dojo.telerik.com/mLcNnDXS

Environment

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions