The className prop on the ChipList component is ignored in version 3.18.0. A simple addition of class strings does not appear in the compiled product, e.g.
return (
<ChipList
className='flex-layout --wrap --end'
data={chipData}
onDataChange={onDataChange}
chip={props => (
<Chip removable removeIcon='k-i-close' {...props} />
)}
/>
)
I've looked through the transpiled source in node_modules, and it seems the className property passed to the React.createElement() function totally ignores the prop class names.
Hello James,
Thank you for your example.
I have opened a new issue about this unwanted behavior.
You can check its status to see when the implementation is ready:
https://github.com/telerik/kendo-react/issues/875
Currently, there is no workaround available, and if one is found it will be added to the GitHub issue.
I have also added 1000 Telerik points for bringing that to our attention.
Please let me know if you need more assistance.
Regards,
Ina
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.