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

InView in reference to another container instead of viewport #23

Open
t3chn0r opened this issue Feb 16, 2014 · 0 comments
Open

InView in reference to another container instead of viewport #23

t3chn0r opened this issue Feb 16, 2014 · 0 comments

Comments

@t3chn0r
Copy link

t3chn0r commented Feb 16, 2014

Hi there!

I'm already using this plugin to load data automatically when a user reaches the bottom of the contents and it works great.

Now I'm trying to display a list on a fixed height div. The event 'inview' is firing as soon as I attach the event even though the element is not in view yet. My guess is that this is happening because the plugin always considers the whole viewport. Is there any way to tell the plugin that my viewport in this case is certain div and not the entire window?

Regards,
t3ch

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