@legendapp/list 1.0.0-beta.6 → 1.0.0-beta.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 +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -360,7 +360,7 @@ var ListComponent = React5__namespace.memo(function ListComponent2({
|
|
|
360
360
|
{
|
|
361
361
|
...rest,
|
|
362
362
|
style,
|
|
363
|
-
maintainVisibleContentPosition: maintainVisibleContentPosition ? { minIndexForVisible: 0 } : void 0,
|
|
363
|
+
maintainVisibleContentPosition: maintainVisibleContentPosition && !ListEmptyComponent ? { minIndexForVisible: 0 } : void 0,
|
|
364
364
|
contentContainerStyle: [
|
|
365
365
|
contentContainerStyle,
|
|
366
366
|
horizontal ? {
|
package/index.mjs
CHANGED
|
@@ -339,7 +339,7 @@ var ListComponent = React5.memo(function ListComponent2({
|
|
|
339
339
|
{
|
|
340
340
|
...rest,
|
|
341
341
|
style,
|
|
342
|
-
maintainVisibleContentPosition: maintainVisibleContentPosition ? { minIndexForVisible: 0 } : void 0,
|
|
342
|
+
maintainVisibleContentPosition: maintainVisibleContentPosition && !ListEmptyComponent ? { minIndexForVisible: 0 } : void 0,
|
|
343
343
|
contentContainerStyle: [
|
|
344
344
|
contentContainerStyle,
|
|
345
345
|
horizontal ? {
|