react-native-macos 0.75.18 → 0.75.19

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.
@@ -16,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 75,
19
- patch: 18,
19
+ patch: 19,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -134,7 +134,9 @@
134
134
  CGSize textViewSize = [_backedTextInputView intrinsicContentSize];
135
135
  NSClipView *clipView = (NSClipView *)_scrollView.contentView;
136
136
  if (textViewSize.height > clipView.bounds.size.height) {
137
- return YES;
137
+ // Sometimes dimensions returned are in floating point numbers.
138
+ // If the floats are close enough, then don't show the scrollbar even if there is a fraction of overflow with the text.
139
+ return fabs(textViewSize.height - clipView.bounds.size.height) >= 1;
138
140
  };
139
141
 
140
142
  return NO;
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(75),
26
- RCTVersionPatch: @(18),
26
+ RCTVersionPatch: @(19),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.75.18
1
+ VERSION_NAME=0.75.19
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 75,
20
- "patch", 18,
20
+ "patch", 19,
21
21
  "prerelease", null);
22
22
  }
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 75;
20
- int32_t Patch = 18;
20
+ int32_t Patch = 19;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.75.18",
3
+ "version": "0.75.19",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {