diff --git a/README.md b/README.md index 7f2e4d5..acc41d1 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,6 @@ Then open `http://localhost:8000`. | children | Render function for each item. The third argument contains measuring props used by legacy browser compatibility paths. | `(item, index, props) => ReactElement` | - | | component | Custom list container element. | `string` \| `ComponentType` | `div` | | data | Items rendered by the virtual list. | `T[]` | - | -| disabled | Disable scroll position checks, usually while coordinating animation. | `boolean` | `false` | | fullHeight | Whether the holder should keep full height. | `boolean` | `true` | | height | Visible list height. | `number` | - | | itemHeight | Minimum item height used to calculate the virtual range. | `number` | - | diff --git a/README.zh-CN.md b/README.zh-CN.md index 4e0f406..e2386bd 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -65,7 +65,6 @@ npm start | children | 每一项的渲染函数。第三个参数包含旧浏览器兼容路径使用的测量 props。 | `(item, index, props) => ReactElement` | - | | component | 自定义列表容器元素。 | `string` \| `ComponentType` | `div` | | data | 虚拟列表渲染的数据项。 | `T[]` | - | -| disabled | 禁用滚动位置检查,通常用于配合动画。 | `boolean` | `false` | | fullHeight | holder 是否保持完整高度。 | `boolean` | `true` | | height | 可视列表高度。 | `number` | - | | itemHeight | 用于计算虚拟范围的最小项高度。 | `number` | - | diff --git a/examples/animate.tsx b/examples/animate.tsx index a5c78a2..50cc131 100644 --- a/examples/animate.tsx +++ b/examples/animate.tsx @@ -180,13 +180,11 @@ const Demo = () => { height={200} itemHeight={20} itemKey="id" - // disabled={animating} ref={listRef} style={{ border: '1px solid red', boxSizing: 'border-box', }} - // onSkipRender={onAppear} // onItemRemove={onAppear} > {(item, index) => (