I'm using this but since upgrading to version 14 rc1 I've been getting weird behaviour: If I have 16 or more items and try to scroll down it keeps adding items back in (i.e. items which have scrolled off the top) so I can never scroll to the bottom. The scrollbar jumps around. In case it depends upon any settings I'll include some of the html:
<p-virtualScroller *ngIf="!CompactDisplay" [value]="appService.selectedQueue?.PrintRuns | jobsFilterPipe : SubstrateTypesFilter : searchFilter" scrollHeight="680px" itemSize="164">
<ng-template let-job pTemplate="item">
I'm fully up-to-date with Angular (14.0.4) and am using Chrome as my browser (103.0.5060.114).
Problem with p-virtualScroller
I have the same problem with p-virtualScroller with the jumping. It was working on primeng 12 but when I updated to 14 the jumping started. I tried switching to their p-scroller which did not work, doesn't appear to be finished in 14, no [value] input.
I ended up switching to ngx-virtual-scroller, took just a few minutes, and its working nicely now. Hopefully primeng 15 has this issue fix
.
A
I ended up switching to ngx-virtual-scroller, took just a few minutes, and its working nicely now. Hopefully primeng 15 has this issue fix

A
Hi could you explain how you switched from p-table to ngx-virtual-scroller?aaronb wrote: ↑29 Jan 2023, 16:43I have the same problem with p-virtualScroller with the jumping. It was working on primeng 12 but when I updated to 14 the jumping started. I tried switching to their p-scroller which did not work, doesn't appear to be finished in 14, no [value] input.
I ended up switching to ngx-virtual-scroller, took just a few minutes, and its working nicely now. Hopefully primeng 15 has this issue fix.
A
thanks
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests