Cleanup option (and method) not working in v4.0.9

Author: AntimatedCreated Jan 3, 2022Updated Feb 21, 2025
LabelsBug

Issue

I have a demo here: https://codepen.io/Antimated/pen/gOGzpjW. The styles on my .foo DOM element are NOT being cleaned up after the reveal. Not with the cleanupproperty set to "true" nor using the afterReveal method. Am I missing something?

EDIT: Also syncing doesn't seem to work. EDIT2: Seems te broken from version 4.0.9. 4.0.8 works (cleaning works, not sure about sync)

Environment

  • Operating System: MacOS
  • Browser Version: Chrome Version 96.0.4664.110
  • ScrollReveal Version: 4.0.9