Skip to content

[BUG] SVG Icons are not displayed when using @progress/kendo-svg-icons v5.4.0 with Kendo Theme Default 14.x #553

Description

@Stepron-Suraj-Singh

[BUG] SVG Icons are not displayed when using @progress/kendo-svg-icons v5.4.0 with Kendo Theme Default 14.x

Bug Description

When using @progress/kendo-svg-icons version 5.4.0 together with older versions of @progress/kendo-theme-default (14.0.0–14.3.0), SVG icons are not rendered at all.

The issue appears to be caused by an incompatibility between the SVG icon package and the older 14.x theme versions.

Steps to Reproduce

  1. Create a project using Kendo UI for React.

  2. Install:

    • @progress/kendo-svg-icons@5.4.0

  3. Reference an older Kendo Default Theme (14.0.0–14.3.0) via CDN. For example:

<link href="https://www.unpkg.com/@progress/kendo-theme-default@14.0.0/dist/default-main.css" rel="stylesheet" />
  1. Use any Kendo SVG icon in the application.

  2. Run the application.

Expected Behavior

The SVG icons should render correctly regardless of the theme version, or a compatibility warning should clearly indicate that the package versions are incompatible.

Actual Behavior

No SVG icons are rendered. The icon placeholders remain empty, and the SVGs are not visible.

Environment Information

Affected Theme(s)

  • All themes

Affected Component(s)

SVG Icons (@progress/kendo-svg-icons)

Affected Suites

  • Kendo UI for React

Browser Information

  • All browsers

Reproduction Case

Sample Code

import { SVGIcon } from "@progress/kendo-react-common";
import { gearIcon } from "@progress/kendo-svg-icons";

<SVGIcon icon={gearIcon} />;

Workaround

Upgrading the Kendo Default Theme CDN to a newer version resolves the issue.

However, this is not always possible for projects that intentionally remain on the 14.x theme versions.

Additional Context

The issue is reproducible when using the following theme versions via CDN:

@progress/kendo-svg-icons Theme CDN Version Result
5.4.0 14.0.0 ❌ Icons not visible
5.4.0 14.1.0 ❌ Icons not visible
5.4.0 14.2.0 ❌ Icons not visible
5.4.0 14.3.0 ❌ Icons not visible

For example, changing the CDN from:

<link href="https://www.unpkg.com/@progress/kendo-theme-default@14.0.0/dist/default-main.css" rel="stylesheet" />

to a newer version such as:

<link href="https://www.unpkg.com/@progress/kendo-theme-default@14.4.0/dist/default-main.css" rel="stylesheet" />

makes the SVG icons render correctly.

It would be helpful to know:

  1. Whether this version combination is officially unsupported.

  2. If so, whether the package should declare a compatibility restriction.

  3. If not, whether this is a regression introduced in @progress/kendo-svg-icons v5.4.0.

Thank you!

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions