Skip to content

Dropdown with Virtual Scroll and Groups #79

Answered by cetincakiroglu
mnhock asked this question in PrimeNG
Discussion options

You must be logged in to vote

Hi,

To make it clear could you please explain Virtual Scroll activated per group

As I understand from above, unfortunately, it's not supported per group but maybe you can assign the group's height as scrollHeight and it might work. In the new virtual scroll implementation, you need to define a scrollHeight and virtualScrollItemSize. For example; if your groups have 5 items and each individual item has 30px height, you can assign 150px as scrollHeight, it'll work per group.

We've reworked the virtualscroll in v14. Because of that, some features of v13 might not work as you expected in >= v14.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mnhock
Comment options

Answer selected by cetincakiroglu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants