https://github.com/juggle/virtual-scroller
WIP: Implementation of virtual-scroller
https://github.com/juggle/virtual-scroller
Last synced: 5 months ago
JSON representation
WIP: Implementation of virtual-scroller
- Host: GitHub
- URL: https://github.com/juggle/virtual-scroller
- Owner: juggle
- Created: 2019-07-19T12:59:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-07T09:09:14.000Z (about 6 years ago)
- Last Synced: 2025-03-04T10:13:24.667Z (over 1 year ago)
- Size: 58.6 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# virtual-scroller
The aim of this project is to get as close as possible to something like https://github.com/WICG/virtual-scroller.
A native-like experience for scrolling large amounts of content.
```html
Item 1
Item 2
Item 3
...
Item 1,000,000
```
## Initial Requirements
1. Must act like a standard non-inline element.
2. Must expand with content, like a standard non-inline element would.
3. Must virtualise content when overflow occurs. For example, when the `max-height` is reached.
4. Must handle being resized. We can use [@juggle/resize-observer](https://github.com/juggle/resize-observer) for this.
5. Should support variable row heights.
6. Should be exposed as an ES module for easy import.
7. Should initially support at least 1 million rich content rows.