-
Notifications
You must be signed in to change notification settings - Fork 4
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
ui-select pagination by scrolling #375
Comments
@cabloo sorry not sure what you want to do here. Do you mean implementing infinite scroll right there? If yes - I don't think we can do that via some directive params, but probably should write our own component for that, since that will require handling scroll event in results list. Here are docs for ui-scroll-choices |
@Andrfas figured that might be the case. Can you try this solution (the one from tushariscoolster)? angular-ui/ui-select#221 (comment) |
I'd like to use that one so we can reuse the scroll completion lib in other locations as well. This solution would also work: https://github.com/hyzhak/ui-select-infinity but is specific to ui-select so only use it if you can't get the previous one working. |
@cabloo The first variant is not so good for us - it requires broadcasting an event in scope. And the only way I see to make it working - to broadcast event in |
when you scroll near the end of a list in a ui-select, it should infinite scroll on to the next page. There may even be a setting for this.
The text was updated successfully, but these errors were encountered: