rc-virtual-list
React Virtual List Component
Last updated 3 years ago by zombiej .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install rc-virtual-list 
SYNC missed versions from official npm registry.

rc-virtual-list

React Virtual List Component which worked with animation.

NPM version dumi build status Test coverage node version npm download

Online Preview

https://virtual-list-react-component.vercel.app/

Development

npm install
npm start
open http://localhost:9001/

Feature

  • Support react.js
  • Support animation
  • Support IE11+

Install

rc-virtual-list

Usage

import List from 'rc-virtual-list';

<List data={[0, 1, 2]} height={200} itemHeight={30} itemKey="id">
  {index => <div>{index}</div>}
</List>;

API

List

Prop Description Type Default
children Render props of item (item, index, props) => ReactElement -
component Customize List dom element string | Component div
data Data list Array -
disabled Disable scroll check. Usually used on animation control boolean false
height List height number -
itemHeight Item minium height number -
itemKey Match key with item string -
styles style { horizontalScrollBar?: React.CSSProperties; horizontalScrollBarThumb?: React.CSSProperties; verticalScrollBar?: React.CSSProperties; verticalScrollBarThumb?: React.CSSProperties; } -

children provides additional props argument to support IE 11 scroll shaking. It will set style to visibility: hidden when measuring. You can ignore this if no requirement on IE.

Current Tags

  • 3.14.8                                ...           latest (2 months ago)

127 Versions

  • 3.14.8                                ...           2 months ago
  • 3.14.7                                ...           2 months ago
  • 3.14.6                                ...           2 months ago
  • 3.14.5                                ...           5 months ago
  • 3.14.4                                ...           5 months ago
  • 3.14.3                                ...           5 months ago
  • 3.14.2                                ...           6 months ago
  • 3.14.1                                ...           6 months ago
  • 3.14.0                                ...           6 months ago
  • 3.13.0                                ...           6 months ago
  • 3.12.0                                ...           6 months ago
  • 3.11.5                                ...           7 months ago
  • 3.11.4                                ...           9 months ago
  • 3.11.3                                ...           a year ago
  • 3.11.2                                ...           a year ago
  • 3.11.1                                ...           a year ago
  • 3.11.0                                ...           a year ago
  • 3.10.10                                ...           a year ago
  • 3.10.9                                ...           a year ago
  • 3.10.8                                ...           a year ago
  • 3.10.7                                ...           a year ago
  • 3.10.6                                ...           a year ago
  • 3.10.5                                ...           a year ago
  • 3.10.4                                ...           a year ago
  • 3.10.3                                ...           a year ago
  • 3.10.2                                ...           a year ago
  • 3.10.1                                ...           a year ago
  • 3.10.0                                ...           a year ago
  • 3.9.1                                ...           a year ago
  • 3.9.0                                ...           a year ago
  • 3.8.0                                ...           a year ago
  • 3.7.0                                ...           a year ago
  • 3.6.0                                ...           a year ago
  • 3.5.3                                ...           a year ago
  • 3.5.2                                ...           a year ago
  • 3.5.1                                ...           a year ago
  • 3.5.0                                ...           a year ago
  • 3.4.13                                ...           2 years ago
  • 3.4.12                                ...           2 years ago
  • 3.4.11                                ...           2 years ago
  • 3.4.10                                ...           2 years ago
  • 3.4.8                                ...           3 years ago
  • 3.4.7                                ...           3 years ago
  • 3.4.6                                ...           3 years ago
  • 3.4.4                                ...           3 years ago
  • 3.4.3                                ...           3 years ago
  • 3.4.2                                ...           3 years ago
  • 3.4.1                                ...           3 years ago
  • 3.4.0                                ...           3 years ago
  • 3.3.0                                ...           3 years ago
  • 3.2.6                                ...           4 years ago
  • 3.2.5                                ...           4 years ago
  • 3.2.4                                ...           4 years ago
  • 3.2.3                                ...           4 years ago
  • 3.2.2                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.1                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.16                                ...           4 years ago
  • 3.0.15                                ...           4 years ago
  • 3.0.14                                ...           4 years ago
  • 3.0.13                                ...           4 years ago
  • 3.0.12                                ...           4 years ago
  • 3.0.11                                ...           4 years ago
  • 3.0.10                                ...           4 years ago
  • 3.0.9                                ...           4 years ago
  • 3.0.8                                ...           4 years ago
  • 3.0.7                                ...           4 years ago
  • 3.0.6                                ...           4 years ago
  • 3.0.5                                ...           4 years ago
  • 3.0.4                                ...           4 years ago
  • 3.0.3                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.1.7                                ...           4 years ago
  • 2.1.6                                ...           4 years ago
  • 2.1.5                                ...           4 years ago
  • 2.1.4                                ...           4 years ago
  • 2.1.3                                ...           4 years ago
  • 2.1.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
  • 0.0.0-rc.1                                ...           5 years ago
  • 0.0.0-rc.0                                ...           5 years ago
  • 0.0.0-alpha.28                                ...           5 years ago
  • 0.0.0-alpha.27                                ...           5 years ago
  • 0.0.0-alpha.26                                ...           5 years ago
  • 0.0.0-alpha.25                                ...           5 years ago
  • 0.0.0-alpha.24                                ...           5 years ago
  • 0.0.0-alpha.23                                ...           5 years ago
  • 0.0.0-alpha.22                                ...           5 years ago
  • 0.0.0-alpha.21                                ...           5 years ago
  • 0.0.0-alpha.20                                ...           5 years ago
  • 0.0.0-alpha.19                                ...           5 years ago
  • 0.0.0-alpha.18                                ...           5 years ago
  • 0.0.0-alpha.17                                ...           5 years ago
  • 0.0.0-alpha.16                                ...           5 years ago
  • 0.0.0-alpha.15                                ...           5 years ago
  • 0.0.0-alpha.14                                ...           5 years ago
  • 0.0.0-alpha.13                                ...           5 years ago
  • 0.0.0-alpha.12                                ...           5 years ago
  • 0.0.0-alpha.11                                ...           5 years ago
  • 0.0.0-alpha.10                                ...           5 years ago
  • 0.0.0-alpha.9                                ...           5 years ago
  • 0.0.0-alpha.8                                ...           5 years ago
  • 0.0.0-alpha.7                                ...           5 years ago
  • 0.0.0-alpha.6                                ...           5 years ago
  • 0.0.0-alpha.5                                ...           5 years ago
  • 0.0.0-alpha.4                                ...           5 years ago
  • 0.0.0-alpha.3                                ...           5 years ago
  • 0.0.0-alpha.2                                ...           5 years ago
  • 0.0.0-alpha.1                                ...           5 years ago
  • 0.0.0-alpha.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 3
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (19)

© 2010 - cnpmjs.org x YWFE | Home | YWFE