Loading

Animation is Not Working After Enabling The Content Security Policy

Publiceringsdatum: May 7, 2025
Beskrivning
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
Ytterligare resurser
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-artikelnummer

001474830

 
Laddar
Salesforce Help | Article