Badge background disappeared.

1 Answer 37 Views
Badge 
Noud
Top achievements
Rank 1
Noud asked on 01 Aug 2023, 07:42 AM

I'm using the badge component, but the badge background has disappeared. this is weird, because the background was there before. I do not recall any specific action that might have caused it to disappear. 

The badge component now looks like this:

This is my code.

package version: 

"@progress/kendo-react-indicators": "^5.0.1",

In the component

import {Badge, BadgeContainer} from "@progress/kendo-react-indicators";

<BadgeContainer>
<Button>Filters</Button>
<Badge align={{horizontal: "end", vertical: "top"}}
themeColor="primary">{filters.length}</Badge>
</BadgeContainer>

does anyone have an idea what might have caused the background to disappear?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 01 Aug 2023, 09:56 AM

Hello Noud,

If the problem have occurred without any changes in the code, this could be an indication that the version of the component package was changed, but the theme was not updated accordingly. Please check the theme version and ensure you are using the latest one (6.6.0);

        <head>
            <link rel="stylesheet" href="https://kendo.cdn.telerik.com/themes/6.6.0/default/default-ocean-blue.css"></link>

Please note that some version of the component might introduce changes in the class names and the rendering and updating the theme version along with the components is required.

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Badge 
Asked by
Noud
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or