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

Support for calculating element visibility in relation to parent container defined with bind-scroll-to #12

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

Conversation

mavidulin
Copy link
Contributor

When you define a bind-scroll-to element (container), element visibility will be evaluated on that container. Before, only viewPort height was used, so if you had scrollable elements in a div with limited height (and hidden overflow) their visibility was still evaluated on the whole viewPort.

@rpocklin
Copy link
Owner

Is it possible to add a test for the use case you mention? Can you please rebase this with master as well?

@mavidulin
Copy link
Contributor Author

Do you mean adding an example?

@rpocklin
Copy link
Owner

rpocklin commented Jun 8, 2016

Sure an example would be good.

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