Skip to main content

All Questions

0 votes
1 answer
236 views

How to register a plugin to use inside a component library running by storybook?

I want to use a vue-virtual-scroller in my component library which requires to be registered as a plugin via app.use() method. However, the components lib has not app instance due it is running by ...
pepeevich's user avatar
  • 323
1 vote
0 answers
777 views

Is there a way to scroll on a site that uses virtual scroll in Playwright?

I'm attempting to scroll on a page that has virtual scrolling, but it doesn't seem to scroll at all. If I disable virtual scrolling on the site it will start to scroll correctly using: await page....
Daniel's user avatar
  • 115
1 vote
1 answer
921 views

Angular Material CdkVirtualScrollViewport getRenderedRange() method always return {start : 0, end: 0}

I'm trying to implement Angular Material virtual scrolling, but my items have different sizes. So I must code a custom implementation of VirtualScrollStrategy. The thing is, I need to use the ...
ssubtil's user avatar
  • 11
3 votes
1 answer
6k views

Can't bind to 'items' since it isn't a known property of 'virtual-scroller'

I am having an issue with getting virtual scroll implemented into my ionic 4 + Angular project. Previously, I have used ionic's implementation of virtual scroll (ion-virtual-scroll) which was ...
TheNakedFlame's user avatar
3 votes
1 answer
12k views

Angular virtual scroll reset to top

In my Angular app, I'm using the Virtual Scroll from the Angular cdk. This is my Component's template: <cdk-virtual-scroll-viewport itemSize="50" class="example-viewport"> <div *...
Francesco Borzi's user avatar
20 votes
5 answers
20k views

Angular: cdkVirtualFor not rendering new items

I'm building a vertically scrolling calendar. I'm getting the initial days to load, but when new days are added to the list, they aren't being rendered. <cdk-virtual-scroll-viewport class="demo-...
Will Luce's user avatar
  • 1,843
2 votes
1 answer
2k views

virtual scroll for angular not adding data to list

I've tried implementing infinite virtual scroll on Angular 7 project with Hasura's GraphQL backend. I'm unable to figure out why the new data is not added and why there are multiple API requests ...
Siddhant Srivastav's user avatar
2 votes
1 answer
5k views

Angular 7 - virtual scroll combined with async subscription

I am using async in my Angular 7 project to automatically subscribe my data I want to display. The data is displayed as a table with about 2000 items. The following code is from my template: <...
student18's user avatar
  • 538
1 vote
3 answers
1k views

virtual-scroll returning empty Array

HTML: <virtual-scroll [items]="items" (update)="viewPortItems = $event"> <div *ngFor="let item of viewPortItems"> {{item.name}} </...
Sunny's user avatar
  • 1,197
0 votes
1 answer
856 views

Highlight row in virtual scroll table no matter scroll position

I've looked for an answer to this but came up with nothing. I have a virtual scroll table in an angular4 stack with hundreds of rows. I have created a function to highlight a row on click and it's ...
BenedictCarnel's user avatar