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

Add ability to set at least px to infiniteScrollDistance #439

Open
Sany18 opened this issue Jun 7, 2024 · 0 comments
Open

Add ability to set at least px to infiniteScrollDistance #439

Sany18 opened this issue Jun 7, 2024 · 0 comments

Comments

@Sany18
Copy link

Sany18 commented Jun 7, 2024

Hi, I use ngx-infinite-scroll v17.0.0

When the scroll container gets too high (for example 10+ pages), the infiniteScrollDistance percentage value starts triggering the scroll event too early, before the scroll reaches an imaginary lower bound.

Another case. For example, we have a default value of 20% to the lower limit. If we have uploaded more than 5 pages, each subsequent page will be less than 20% and the scroll event will be triggered on each scroll tick down instead of allowing the user scroll to the bottom bound.

I suggest adding CSS measurement support like rem, or px. Or at least px.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants