Skip to content

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