jlmakes / jlmakes/scrollreveal

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

Open
#545 10 comments 1 reaction 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
22.5k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

### 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 `cleanup`property 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.