ng-mat-select-infinite-scroll icon indicating copy to clipboard operation
ng-mat-select-infinite-scroll copied to clipboard

Losing selection of lazy loaded items

Open angelaki opened this issue 3 years ago • 0 comments

I've modified your stackblitz so the loaded items are reset every time the select opens:

https://stackblitz.com/edit/ng-mat-select-infinite-scroll-zbykih?file=src%2Fapp%2Fapp.component.html

Now when you open the select, check any lazy loaded option, reopen it and select the first one, the last selection gets lost since it is no part of the available elements anymore. I've also reported this issue here https://github.com/bithost-gmbh/ngx-mat-select-search/issues/320 since they already needed to take care of this behavior with their filter. But I think this issue is rather infinite-scroll related.

angelaki avatar May 12 '21 11:05 angelaki