react-native-macos 0.73.24 → 0.73.25
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/React/Base/RCTTouchHandler.m +3 -0
- 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/ReactAndroid/src/main/java/com/facebook/react/common/build/ReactBuildConfig.java +0 -23
|
@@ -137,6 +137,9 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
|
|
|
137
137
|
// Pair the mouse down events with mouse up events so our _nativeTouches cache doesn't get stale
|
|
138
138
|
if ([targetView isKindOfClass:[NSControl class]]) {
|
|
139
139
|
_shouldSendMouseUpOnSystemBehalf = [(NSControl*)targetView isEnabled];
|
|
140
|
+
} else if ([targetView isKindOfClass:[NSTabView class]]) {
|
|
141
|
+
// NSTabView sends click events for tab buttons but doesn't inherit from NSControl
|
|
142
|
+
_shouldSendMouseUpOnSystemBehalf = YES;
|
|
140
143
|
} else if ([targetView isKindOfClass:[NSText class]]) {
|
|
141
144
|
_shouldSendMouseUpOnSystemBehalf = [(NSText*)targetView isSelectable];
|
|
142
145
|
}
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
package com.facebook.react.common.build;
|
|
9
|
-
|
|
10
|
-
import com.facebook.react.BuildConfig;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Convenience class for accessing auto-generated BuildConfig so that a) other modules can just
|
|
14
|
-
* depend on this module instead of having to manually depend on generating their own build config
|
|
15
|
-
* and b) we don't have to deal with IntelliJ getting confused about the autogenerated BuildConfig
|
|
16
|
-
* class all over the place.
|
|
17
|
-
*/
|
|
18
|
-
public class ReactBuildConfig {
|
|
19
|
-
|
|
20
|
-
public static final boolean DEBUG = BuildConfig.DEBUG;
|
|
21
|
-
public static final boolean IS_INTERNAL_BUILD = BuildConfig.IS_INTERNAL_BUILD;
|
|
22
|
-
public static final int EXOPACKAGE_FLAGS = BuildConfig.EXOPACKAGE_FLAGS;
|
|
23
|
-
}
|