react-native-macos 0.0.0-b1e6b9783 → 0.0.0-b6f122030
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/Components/ScrollView/ScrollView.js +5 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/Base/macOS/RCTPlatformDisplayLink.m +3 -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
|
@@ -1054,7 +1054,11 @@ class ScrollView extends React.Component<Props, State> {
|
|
|
1054
1054
|
|},
|
|
1055
1055
|
animated?: boolean, // deprecated, put this inside the rect argument instead
|
|
1056
1056
|
) => {
|
|
1057
|
-
invariant(
|
|
1057
|
+
invariant(
|
|
1058
|
+
// [TODO(macOS GH#774)
|
|
1059
|
+
Platform.OS === 'ios' || Platform.OS === 'macos',
|
|
1060
|
+
'zoomToRect is not implemented',
|
|
1061
|
+
); // TODO [(macOS GH#774)
|
|
1058
1062
|
if ('animated' in rect) {
|
|
1059
1063
|
this._animated = rect.animated;
|
|
1060
1064
|
delete rect.animated;
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -51,7 +51,9 @@ static CVReturn RCTPlatformDisplayLinkCallBack(__unused CVDisplayLinkRef display
|
|
|
51
51
|
if (rctDisplayLink->_runLoop != nil) {
|
|
52
52
|
CFRunLoopRef cfRunLoop = [rctDisplayLink->_runLoop getCFRunLoop];
|
|
53
53
|
CFRunLoopPerformBlock(cfRunLoop, (__bridge CFArrayRef)rctDisplayLink->_modes, ^{
|
|
54
|
-
|
|
54
|
+
@autoreleasepool {
|
|
55
|
+
[rctDisplayLink tick];
|
|
56
|
+
}
|
|
55
57
|
});
|
|
56
58
|
CFRunLoopWakeUp(cfRunLoop);
|
|
57
59
|
}
|
package/package.json
CHANGED