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.
@@ -17,7 +17,7 @@ const version: $ReadOnly<{
17
17
  major: 0,
18
18
  minor: 77,
19
19
  patch: 0,
20
- prerelease: 'rc.3',
20
+ prerelease: 'rc.5',
21
21
  };
22
22
 
23
23
  module.exports = {version};
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(77),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"rc.3",
27
+ RCTVersionPrerelease: @"rc.5",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -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 ((_backedTextInputView.inputAccessoryView != nil) == shouldHaveInputAccessoryView) {
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
  }
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.77.0-rc.3
1
+ VERSION_NAME=0.77.0-rc.5
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -18,5 +18,5 @@ public class ReactNativeVersion {
18
18
  "major", 0,
19
19
  "minor", 77,
20
20
  "patch", 0,
21
- "prerelease", "rc.3");
21
+ "prerelease", "rc.5");
22
22
  }
@@ -708,6 +708,7 @@ public class ReactViewGroup extends ViewGroup
708
708
  }
709
709
  }
710
710
  removeViewsInLayout(index - clippedSoFar, 1);
711
+ invalidate();
711
712
  }
712
713
  removeFromArray(index);
713
714
  }
@@ -18,7 +18,7 @@ constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 77;
20
20
  int32_t Patch = 0;
21
- std::string_view Prerelease = "rc.3";
21
+ std::string_view Prerelease = "rc.5";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.77.0-rc.3",
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.3",
112
- "@react-native/codegen": "0.77.0-rc.3",
113
- "@react-native/community-cli-plugin": "0.77.0-rc.3",
114
- "@react-native/gradle-plugin": "0.77.0-rc.3",
115
- "@react-native/js-polyfills": "0.77.0-rc.3",
116
- "@react-native/normalize-colors": "0.77.0-rc.3",
117
- "@react-native/virtualized-lists": "0.77.0-rc.3",
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