@legendapp/list 2.1.0-beta.4 → 2.1.0-beta.5
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 +2 -4
package/index.js
CHANGED
|
@@ -758,7 +758,7 @@ var ContainersInner = typedMemo(function ContainersInner2({ horizontal, numColum
|
|
|
758
758
|
const columnWrapperStyle = ctx.columnWrapperStyle;
|
|
759
759
|
const [totalSize, otherAxisSize] = useArr$(["totalSize", "otherAxisSize"]);
|
|
760
760
|
useDOMOrder(ref);
|
|
761
|
-
const style = horizontal ? { minHeight: otherAxisSize, width: totalSize } : { height: totalSize, minWidth: otherAxisSize };
|
|
761
|
+
const style = horizontal ? { minHeight: otherAxisSize, position: "relative", width: totalSize } : { height: totalSize, minWidth: otherAxisSize, position: "relative" };
|
|
762
762
|
if (columnWrapperStyle && numColumns > 1) {
|
|
763
763
|
const { columnGap, rowGap, gap } = columnWrapperStyle;
|
|
764
764
|
const gapX = columnGap || gap || 0;
|
package/index.mjs
CHANGED
|
@@ -737,7 +737,7 @@ var ContainersInner = typedMemo(function ContainersInner2({ horizontal, numColum
|
|
|
737
737
|
const columnWrapperStyle = ctx.columnWrapperStyle;
|
|
738
738
|
const [totalSize, otherAxisSize] = useArr$(["totalSize", "otherAxisSize"]);
|
|
739
739
|
useDOMOrder(ref);
|
|
740
|
-
const style = horizontal ? { minHeight: otherAxisSize, width: totalSize } : { height: totalSize, minWidth: otherAxisSize };
|
|
740
|
+
const style = horizontal ? { minHeight: otherAxisSize, position: "relative", width: totalSize } : { height: totalSize, minWidth: otherAxisSize, position: "relative" };
|
|
741
741
|
if (columnWrapperStyle && numColumns > 1) {
|
|
742
742
|
const { columnGap, rowGap, gap } = columnWrapperStyle;
|
|
743
743
|
const gapX = columnGap || gap || 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/list",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.5",
|
|
4
4
|
"description": "Legend List is a drop-in replacement for FlatList with much better performance and supporting dynamically sized items.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
"**"
|
|
12
12
|
],
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"react": "*"
|
|
15
|
-
"react-dom": "*",
|
|
16
|
-
"react-native": "*"
|
|
14
|
+
"react": "*"
|
|
17
15
|
},
|
|
18
16
|
"peerDependenciesMeta": {
|
|
19
17
|
"react-dom": {
|