react-native-macos 0.71.27 → 0.71.28
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/Text/TextInput/RCTBaseTextInputView.m +1 -1
- 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
|
@@ -594,7 +594,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithCoder : (NSCoder *)decoder)
|
|
|
594
594
|
_onTextInput(@{
|
|
595
595
|
// We copy the string here because if it's a mutable string it may get released before we stop using it on a
|
|
596
596
|
// different thread, causing a crash.
|
|
597
|
-
@"text" : [text copy],
|
|
597
|
+
@"text" : [text copy] ?: @"", // [macOS] fall back to empty string if text is nil
|
|
598
598
|
@"previousText" : previousText,
|
|
599
599
|
@"range" : @{@"start" : @(range.location), @"end" : @(range.location + range.length)},
|
|
600
600
|
@"eventCount" : @(_nativeEventCount),
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED