mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[MNT-23648] Clicking on Load More button no longer causes scroll position to reset to top (#8951)
* [MNT-23648] Resolved issue where clicking on load more button would reset the scroll position to top when copying/moving a folder * [MNT-23648] Revert fix * [MNT-23648] Resolved issue where clicking on load more button would reset the scroll position to top when copying/moving a folder * [MNT-23648] Added test case to cover new functionality * [MNT-23648] Fixed unit tests
This commit is contained in:
@@ -109,7 +109,7 @@ export class InfinitePaginationComponent implements OnInit, OnDestroy, Paginatio
|
||||
|
||||
onLoadMore() {
|
||||
this.requestPaginationModel.skipCount = 0;
|
||||
this.requestPaginationModel.merge = false;
|
||||
this.requestPaginationModel.merge = true;
|
||||
|
||||
this.requestPaginationModel.maxItems += this.pageSize;
|
||||
|
||||
|
Reference in New Issue
Block a user