I am using CSS animations in my project. After upgrading the Radzen Blazor Components to
version 11.x.x, the animations are not working any more. Also animations of Radzen Components as the IsLoading animation of the RadzenDataList is not working.
I have reverted now the components to version to 10.4.9. There are all animations of Radzen and third party components working.
Here is what I see on https://blazor.radzen.com/button - animation works in both Material3 and Material themes. Which browser are you using? Did you try clearing your cache?
Yes i have cleared the cache (Ctr+F5 and Deveoloper Mode Clear Cache), i have tried it with Chrome and Edge but no anmination ist shown. ( Win11)
The Button IsBusy just shows the circle, the Skeletton does not show wave animation and none of css animations are running. If i copy my code into the playground same issue.
I have tried a new project winth radzen studio ServerSide / Radzen V11 / .Net10. If i use the 10.XXX everything is fine. It must be something wrong with the v11.
Here is your updated demo in the playground and how it renders in Edge:
Can you check in the browser devtools if there are any CSS parse errors / JS errors or other problems reported? I wonder if for some reason the CSS fails to parse for some reason. Also did you try in incognito mode?
We may have found the cause of the problem - it is this CSS which was supposed to be accessibility improvement:
// Accessibility: honor the user's OS "reduce motion" preference.
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
transition-duration: 0.01ms !important;
transition-timing-function: linear !important;
animation-duration: 0.01ms !important;
animation-timing-function: linear !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
}
}
You probably have this setting enabled hence all animations stopped. We decided to revert this change as it is too obtrusive. A new version 11.0.5 has been released which addresses this issue.