@infinite-list/data-model
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@infinite-list/data-model", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist", |
@@ -877,3 +877,3 @@ import noop from '@x-oasis/noop'; | ||
const itemMeta = this.getItemMeta(item, index); | ||
const { index: currentIndex } = itemMeta.getIndexInfo(); | ||
const currentIndex = itemMeta?.getIndexInfo().index || -1; | ||
const lastTokenIndex = spaceStateResult.length - 1; | ||
@@ -880,0 +880,0 @@ const lastToken = spaceStateResult[lastTokenIndex]; |
@@ -69,2 +69,3 @@ import ItemMeta from '../ItemMeta'; | ||
// TODO 针对visible的单测,需要加起来。。 | ||
export function _isEntirelyVisible(props: { | ||
@@ -71,0 +72,0 @@ top: number; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1472412
15848