react-native-macos 0.68.37 → 0.68.40
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Lists/VirtualizedList.js +3 -3
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
|
@@ -800,7 +800,7 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
800
800
|
(this.props.initialScrollIndex || 0) +
|
|
801
801
|
initialNumToRenderOrDefault(this.props.initialNumToRender),
|
|
802
802
|
) - 1,
|
|
803
|
-
selectedRowIndex: this.props.initialSelectedIndex
|
|
803
|
+
selectedRowIndex: this.props.initialSelectedIndex ?? -1, // TODO(macOS GH#774)
|
|
804
804
|
};
|
|
805
805
|
|
|
806
806
|
if (this._isNestedWithSameOrientation()) {
|
|
@@ -1351,12 +1351,12 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1351
1351
|
return (
|
|
1352
1352
|
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
1353
1353
|
<ScrollView
|
|
1354
|
-
{...props}
|
|
1355
1354
|
// [TODO(macOS GH#774)
|
|
1356
1355
|
{...(props.enableSelectionOnKeyPress && keyboardNavigationProps)}
|
|
1357
1356
|
onPreferredScrollerStyleDidChange={
|
|
1358
1357
|
preferredScrollerStyleDidChangeHandler
|
|
1359
1358
|
} // TODO(macOS GH#774)]
|
|
1359
|
+
{...props}
|
|
1360
1360
|
refreshControl={
|
|
1361
1361
|
props.refreshControl == null ? (
|
|
1362
1362
|
<RefreshControl
|
|
@@ -1374,12 +1374,12 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1374
1374
|
return (
|
|
1375
1375
|
// $FlowFixMe Invalid prop usage
|
|
1376
1376
|
<ScrollView
|
|
1377
|
-
{...props}
|
|
1378
1377
|
// [TODO(macOS GH#774)
|
|
1379
1378
|
{...(props.enableSelectionOnKeyPress && keyboardNavigationProps)}
|
|
1380
1379
|
onPreferredScrollerStyleDidChange={
|
|
1381
1380
|
preferredScrollerStyleDidChangeHandler
|
|
1382
1381
|
} // TODO(macOS GH#774)]
|
|
1382
|
+
{...props}
|
|
1383
1383
|
/>
|
|
1384
1384
|
);
|
|
1385
1385
|
}
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED