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

When using 'infiniteScrollContainer' attribute the calculation isn't according to the chosen container #377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Michaelzvu
Copy link

#376

While the container isn't the windowElement the calculation isn't relative to the container.
So I fix it to be relative to the chosen container.

…ative to the container.

So I fix it to be relative to the chosen container.
@nstanard
Copy link

nstanard commented Dec 15, 2018

@Michaelzvu This project currently assumes that the element you put the attributes on is the element you want to use to calculate/compare with the container. I've made a change so that you can target a different "list" element as well as the feature you're trying to use to target a specific "container" element. I need to clean my change up and test it a little more but IMO it's a bug/missing feature. #384 is the fix PR.

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.

2 participants