Loading

Animation is Not Working After Enabling The Content Security Policy

Publiseringsdato: May 7, 2025
Beskrivelse
Animation is not working after enabling the content security policy.

Cause

Content Security Policy blocks the animation from working normally.
Løsning
Review the following CSP settings and if anything has been changed, reset to the default values as seen below. 
  • "content_security_policy.directive.default_src" : "'self'",
  • "content_security_policy.directive.object_src" : "'none'",
  • "content_security_policy.directive.child_src" : "'self'",
  • "content_security_policy.directive.frame-ancestors" : "'none'",
  • "content_security_policy.enforce_enabled": true
Flere ressurser
Using the CSP settings, check if the view complexity is over the threshold and if IE browser is used.
For more information, see Format Animations.
Knowledge-artikkelnummer

001474830

 
Laster
Salesforce Help | Article