Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After refresh page with a predefined scrolltop #28

Open
thomas-keck opened this issue Jul 8, 2014 · 0 comments
Open

After refresh page with a predefined scrolltop #28

thomas-keck opened this issue Jul 8, 2014 · 0 comments

Comments

@thomas-keck
Copy link

If I refresh a page with a predefined scrollTop value (middle of page for example) and if the binded element is already outside the viewport, the "inview" event isn't triggered.

I added an else statement in the checkInView function (l.121) where I trigger an "inview" event with a false parameter.

This works for me.

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

No branches or pull requests

1 participant