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

New option: change the parent selector #12

Open
salierg opened this issue Feb 9, 2018 · 1 comment
Open

New option: change the parent selector #12

salierg opened this issue Feb 9, 2018 · 1 comment

Comments

@salierg
Copy link

salierg commented Feb 9, 2018

Is it possible to add to your options a new one to select the parent selector ?
Right now, select the page's height but it could be better to select a container.
For exemple, if you want a full page height (100vh) and in this page, you have a container with a "overflow: scroll-y". So you should select the height of this container and make your maths with this because the page is not scrolling but the content of your container is.

Great job for your package dude.

@thom4parisot
Copy link

Yeah, I'm quite interested by this answer.

I found out it's a great tool combined with CSS Scroll Snap.

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

2 participants