@legendapp/list 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +11 -9
- package/index.mjs +11 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -601,15 +601,17 @@ var LegendListInner = React7.forwardRef(function LegendListInner2(props, forward
|
|
|
601
601
|
});
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
604
|
+
if (refState.current.viewabilityConfigCallbackPairs) {
|
|
605
|
+
updateViewableItems(
|
|
606
|
+
refState.current,
|
|
607
|
+
ctx,
|
|
608
|
+
refState.current.viewabilityConfigCallbackPairs,
|
|
609
|
+
getId,
|
|
610
|
+
scrollLength,
|
|
611
|
+
startNoBuffer,
|
|
612
|
+
endNoBuffer
|
|
613
|
+
);
|
|
614
|
+
}
|
|
613
615
|
}
|
|
614
616
|
});
|
|
615
617
|
}, [data]);
|
package/index.mjs
CHANGED
|
@@ -580,15 +580,17 @@ var LegendListInner = forwardRef(function LegendListInner2(props, forwardedRef)
|
|
|
580
580
|
});
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
583
|
+
if (refState.current.viewabilityConfigCallbackPairs) {
|
|
584
|
+
updateViewableItems(
|
|
585
|
+
refState.current,
|
|
586
|
+
ctx,
|
|
587
|
+
refState.current.viewabilityConfigCallbackPairs,
|
|
588
|
+
getId,
|
|
589
|
+
scrollLength,
|
|
590
|
+
startNoBuffer,
|
|
591
|
+
endNoBuffer
|
|
592
|
+
);
|
|
593
|
+
}
|
|
592
594
|
}
|
|
593
595
|
});
|
|
594
596
|
}, [data]);
|