react-native 0.77.0-rc.3 → 0.77.0-rc.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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +7 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java +1 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +8 -8
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
package/React/Base/RCTVersion.m
CHANGED
|
@@ -68,6 +68,8 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
68
68
|
* later comparison insensitive to them.
|
|
69
69
|
*/
|
|
70
70
|
NSDictionary<NSAttributedStringKey, id> *_originalTypingAttributes;
|
|
71
|
+
|
|
72
|
+
BOOL _hasInputAccessoryView;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
#pragma mark - UIView overrides
|
|
@@ -610,10 +612,12 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
610
612
|
keyboardType == UIKeyboardTypeDecimalPad || keyboardType == UIKeyboardTypeASCIICapableNumberPad) &&
|
|
611
613
|
(containsKeyType || containsInputAccessoryViewButtonLabel);
|
|
612
614
|
|
|
613
|
-
if (
|
|
615
|
+
if (_hasInputAccessoryView == shouldHaveInputAccessoryView) {
|
|
614
616
|
return;
|
|
615
617
|
}
|
|
616
618
|
|
|
619
|
+
_hasInputAccessoryView = shouldHaveInputAccessoryView;
|
|
620
|
+
|
|
617
621
|
if (shouldHaveInputAccessoryView) {
|
|
618
622
|
NSString *buttonLabel = inputAccessoryViewButtonLabel != nil ? inputAccessoryViewButtonLabel
|
|
619
623
|
: [self returnKeyTypeToString:returnKeyType];
|
|
@@ -639,6 +643,8 @@ static NSSet<NSNumber *> *returnKeyTypesSet;
|
|
|
639
643
|
|
|
640
644
|
- (void)handleInputAccessoryDoneButton
|
|
641
645
|
{
|
|
646
|
+
// Ignore the value of whether we submitted; just make sure the submit event is called if necessary.
|
|
647
|
+
[self textInputShouldSubmitOnReturn];
|
|
642
648
|
if ([self textInputShouldReturn]) {
|
|
643
649
|
[_backedTextInputView endEditing:YES];
|
|
644
650
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.77.0-rc.
|
|
3
|
+
"version": "0.77.0-rc.5",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
110
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
111
|
-
"@react-native/assets-registry": "0.77.0-rc.
|
|
112
|
-
"@react-native/codegen": "0.77.0-rc.
|
|
113
|
-
"@react-native/community-cli-plugin": "0.77.0-rc.
|
|
114
|
-
"@react-native/gradle-plugin": "0.77.0-rc.
|
|
115
|
-
"@react-native/js-polyfills": "0.77.0-rc.
|
|
116
|
-
"@react-native/normalize-colors": "0.77.0-rc.
|
|
117
|
-
"@react-native/virtualized-lists": "0.77.0-rc.
|
|
111
|
+
"@react-native/assets-registry": "0.77.0-rc.5",
|
|
112
|
+
"@react-native/codegen": "0.77.0-rc.5",
|
|
113
|
+
"@react-native/community-cli-plugin": "0.77.0-rc.5",
|
|
114
|
+
"@react-native/gradle-plugin": "0.77.0-rc.5",
|
|
115
|
+
"@react-native/js-polyfills": "0.77.0-rc.5",
|
|
116
|
+
"@react-native/normalize-colors": "0.77.0-rc.5",
|
|
117
|
+
"@react-native/virtualized-lists": "0.77.0-rc.5",
|
|
118
118
|
"abort-controller": "^3.0.0",
|
|
119
119
|
"anser": "^1.4.9",
|
|
120
120
|
"ansi-regex": "^5.0.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|