Skip to content

Conversation

@iosamuel
Copy link

@iosamuel iosamuel commented Nov 6, 2022

If the Threshold is an Array we cannot check for ´entry.intersectionRatio >= this.threshold´ because it will always be false, so the callback is not executed correctly. We need to call it if it finds an intersection with the array that we provided.

If the Threshold is an Array we cannot check for ´entry.intersectionRatio >= this.threshold´ because it will always be false, so the callback is not executed correctly. We need to call it if it finds an intersection with the array that we provided.
@iosamuel
Copy link
Author

@Akryum could you check these out?

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.

1 participant