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

Feature request #113

Open
purdy opened this issue May 23, 2018 · 5 comments
Open

Feature request #113

purdy opened this issue May 23, 2018 · 5 comments

Comments

@purdy
Copy link

purdy commented May 23, 2018

How about combining percentage and element to track, so you can track the percentage scrolled of a tall element vs. the whole page. My use case is that our site has a huge footer, so a user may reach 50%, but have consumed the content and moved on.

@ronnieduke
Copy link

I am looking for this as well

@robflaherty
Copy link
Owner

I don't quite follow. Do you mean being able to specify the container that's used to calculate the max scroll distance instead of using the document height?

@purdy
Copy link
Author

purdy commented Nov 21, 2020

Correct. Thanks!

@robflaherty
Copy link
Owner

robflaherty commented Nov 21, 2020

Got it, thanks. On the v2 branch I added an option to define the container element as well as an option to ignore certain elements (eg footer): 25bba4f

@brunorios1
Copy link

I'm also looking for this.
@robflaherty , do you have plans to backport this to v1?
Thanks!

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

4 participants