Animation "none" not working for p-skeleton #10026
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
When you set
animation="none"
for thep-skeleton
component it doesn't work. It adds the wrong css class to the component, therefore animation isn't being disabled.Expected behavior
Setting
animation="none"
to thep-skeleton
component should disable animation.Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
It doesn't work like expected without a fix.
Please tell us about your environment:
Angular version: 11.0.9
PrimeNG version: 11.2.0
Browser: all
Language: all
Adding css class to a component
primeng/src/app/components/skeleton/skeleton.ts
Line 36 in a216de8
The css class definition (mismatch)
primeng/src/app/components/skeleton/skeleton.css
Line 22 in a216de8
p-skeleton-animation-none !== p-animation-none
The text was updated successfully, but these errors were encountered: