Skip to content

load more on scroll (Infinite scroll) #37

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

Closed
irowbin opened this issue Jun 11, 2018 · 2 comments
Closed

load more on scroll (Infinite scroll) #37

irowbin opened this issue Jun 11, 2018 · 2 comments
Labels

Comments

@irowbin
Copy link

irowbin commented Jun 11, 2018

Is it possible to add infinite scroll to load more record from server? I think this feature isn't implemented yet.

@macjohnny macjohnny added the feature New feature or request label Jun 11, 2018
@macjohnny
Copy link
Member

@irowbin sounds like a good idea!
currently, you would have to add an scroll event listener to the option container and update the observable feeding the option list. but I guess it is quite some work to get this right.

This feature would be even better in combination with virtual scroll, see angular/components#823

anyway, unless you think I am wrong, I suggest you to move this to the official repo of material, i.e. create a new issue here, since this would be a general feature of MatSelect rather than ngx-mat-select-search
However, if you feel like providing and implementation of this, I would also be ready to include this as part of the ngx-mat-select-search library.

How do you want to proceed?

@macjohnny macjohnny added question and removed feature New feature or request labels Jun 14, 2018
@macjohnny
Copy link
Member

there exists the following MatSelect feature request: angular/components#11578

@irowbin if you feel like implementing this in ngx-mat-select-search, feel free to open another issue and a PR.

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

No branches or pull requests

2 participants