Loading

Animation is Not Working After Enabling The Content Security Policy

Julkaisupäivä: May 7, 2025
Kuvaus
Animation is not working after enabling the content security policy.

Cause

Content Security Policy blocks the animation from working normally.
Ratkaisu
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
Lisäresurssit
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-artikkelin numero

001474830

 
Ladataan
Salesforce Help | Article