freshworks / crayons

🖍️ Crayons - A UI Kit comprising of web components for building Freshworks Apps!
https://crayons.freshworks.com
219 stars 61 forks source link

feat(fw-list-options): Virtualise list options #903

Closed rihansiddhi closed 10 months ago

rihansiddhi commented 10 months ago

Using Tanstack Virtual library by creating an adapter for stencil to achieve virtual scroll.

Checklist:

How Has This Been Tested?

https://github.com/freshworks/crayons/assets/45386435/38208674-76bd-490c-acad-b42d2ef72289

Documentation: Necessary documentation to add this utility to a component is available as comments on top of the utility.

Testing: We have introduced a virtual scroll stencil adapter. Testing this adapter should be a part of the component using this adapter. Hence, added Necessary UT in file-library component.