Skip to content

Conversation

andypillip
Copy link

Before off-view elements would only get their event after they got in view once

Before off-view elements would only get their event after they got in view once
@andypillip
Copy link
Author

I just realized that my feature here goes against a test case:

inview shouldn't be triggered initially when the element isn't in the viewport

But I do not find any explanation for this. Why would this even be specified?

One can link to anchors on the page, which will be like scrolling but not trigger the scroll event. So you have no clue which elements are visible initially.

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