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

Trigger event of no scrollbar is present #428

Open
angelaki opened this issue Oct 2, 2023 · 2 comments
Open

Trigger event of no scrollbar is present #428

angelaki opened this issue Oct 2, 2023 · 2 comments

Comments

@angelaki
Copy link

angelaki commented Oct 2, 2023

I'm facing a scenario, where my initially loaded items (on a pretty huge screen) are not enough to show a scrollbar. In my opinion it would be great, if the directive would fire a event here too (if immediateCheck is set to true).

What do you think? I'd offer a PR, if interessted.

@angelaki
Copy link
Author

angelaki commented Oct 2, 2023

Just saw that this behavior actually isn't implemented (#341). Is there any reason? Could do that, too.

@ravindUwU
Copy link

As an interim solution, I added some "padding" to the bottom of the scrollable parent to ensure that the container stays scrollable. Pinging #341 .

Demo: https://stackblitz.com/edit/ravinduwu-ngx-infinite-scroll-parent-taller-than-items?file=src%2Fapp.component.html

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

3 participants