Skip to content

[mat-select] infinite scroll. #11578

@amaneer94

Description

@amaneer94

feature request, or proposal:
There should be a way to detect mat-select options list is about to reach bottom so that next page data call could be made to load more options.

What is the expected behavior?

There should be event emitter kind of thing to detect current position of scroll (or trigger when scroll is about to reach bottom)

What is the current behavior?

There is no way to detect scroll position of mat-options list in mat-select.

What is the use-case or motivation for changing an existing behavior?

I have situation where I dont have to search among options (there is no need to use mat-autocomplete), just a set of values that should be loaded automatically when scrolls down (not all at once).

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"dependencies": {
"@angular/animations": "^5.2.0",
"@angular/cdk": "^5.2.1",
"@angular/common": "^5.2.0",
"@angular/compiler": "^5.2.0",
"@angular/core": "^5.2.0",
"@angular/forms": "^5.2.0",
"@angular/http": "^5.2.0",
"@angular/material": "^5.2.1",
"@angular/platform-browser": "^5.2.0",
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/router": "^5.2.0",
}
screenshot from 2018-05-30 18-10-16

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/selectfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions