Skip to content

Conversation

@Pratham-Taikar
Copy link

This PR fixes the bug of the commented block of code at https://github.com/juliangarnier/anime/blob/master/src/events/scroll.js#L749-L768

Fixes #1124

Before

/* Old implementation to get offset and targetSize before fixing https://github.com/juliangarnier/anime/issues/1021

After

// Old implementation to get offset and targetSize before fixing https://github.com/juliangarnier/anime/issues/1021

This code ensures that the commented block never goes into execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Comment syntax error causing a crash

1 participant