react-native-macos/Libraries
Andrei Shikov 3bc883c6c6 Warn when negative `numberOfLines` prop set on <Text/> component
Summary:
Updates previous variant that was crashing a surface to the non-crashing variant.
Now it prints error in console and modifies value to be 0.

Changelog: [General][Fixed] Clamp negative values for `numberOfLines` in <Text> component

Reviewed By: yungsters

Differential Revision: D30129658

fbshipit-source-id: fda47a262365573514d3e1e4bf8a26f6d30cdae0
2021-08-05 12:39:09 -07:00
..
ActionSheetIOS Resolve "fatal: not a git repository" error outside of git repositories 2021-04-15 13:30:31 -07:00
Alert Remove Unable to get TurboModule for DialogManagerAndroid warning for iOS 2021-03-26 23:48:28 -07:00
Animated Fix order of calls for Native Animated Module 2021-08-03 04:04:06 -07:00
AppState Codemod usages of NativeEventEmitter in react-native-github to only pass a native module on iOS 2021-04-12 06:27:20 -07:00
BatchedBridge Rename immediate to ReactNativeMicrotask in Bridge 2021-07-27 00:51:34 -07:00
Blob chore: fix dead link in comment (#31902) 2021-07-26 13:10:41 -07:00
BugReporting RN: Replace `master` with `main` in Documentation 2021-07-15 15:22:57 -07:00
Components refactor!: drop deprecated `StatusBarIOS` (#31466) 2021-08-04 21:14:46 -07:00
Core Conditionalize the Regenerator Setup 2021-08-02 19:43:04 -07:00
DeprecatedPropTypes Add support to URI keyboard type in Android (#31781) 2021-07-16 05:13:07 -07:00
EventEmitter pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00
FBLazyVector Migrate xplat autoglob targets (#31400) 2021-04-28 11:07:17 -07:00
HeapCapture Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
Image Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00
Inspector pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00
Interaction RN: Replace `master` with `main` in Documentation 2021-07-15 15:22:57 -07:00
JSInspector Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
LayoutAnimation LayoutAnimation: don't call non-Fabric configurNext if Fabric is installed 2021-03-23 14:37:25 -07:00
Linking RN: Restore Deprecated Event Methods 2021-03-10 16:06:26 -08:00
LinkingIOS Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00
Lists Fix typo in VirtualizedList-test.js (#31756) 2021-07-28 18:51:07 -07:00
LogBox pre-suppress this typing errors ahead of 154 2021-06-11 14:31:41 -07:00
Modal pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00
NativeAnimation Flush operations queue when animation starts 2021-08-03 11:32:43 -07:00
NativeComponent Integrate global.__nativeComponentRegistry__hasComponent into NativeComponentRegistry.js 2021-03-09 10:39:20 -08:00
NativeModules/specs Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
Network Remove existential types from xplat/js 2021-07-21 16:52:22 -07:00
NewAppScreen Add testID to NewAppScreen Header Component (#31652) 2021-06-04 13:14:48 -07:00
Performance Adding metadata to React Native QPL points 2021-07-21 10:34:27 -07:00
PermissionsAndroid feat: add Android 12 BLUETOOTH_[CONNECT/SCAN] to PermissionsAndroid (#31488) 2021-05-19 12:23:39 -07:00
Pressability Update FlowFixMes to use error codes in react-native-github 2021-03-31 18:21:47 -07:00
PushNotificationIOS Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00
RCTRequired Migrate xplat autoglob targets (#31400) 2021-04-28 11:07:17 -07:00
ReactNative Remove existential types from xplat/js 2021-07-21 16:52:22 -07:00
ReactPrivate Remove existential types from xplat/js 2021-07-21 16:52:22 -07:00
Reliability Adding support for cancelOnBackground for UserFlow 2020-12-07 10:49:29 -08:00
Renderer React Native sync for revisions 419cc9c...19092ac 2021-08-04 13:47:11 -07:00
Settings Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00
Share Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
Storage pre-suppress this typing errors ahead of 154 2021-06-11 14:31:41 -07:00
StyleSheet RN: Simplify `ReactNativeStyleAttributes` Type 2021-06-11 23:52:09 -07:00
SurfaceBackedComponent Migrate remaining call sites to `CKOverlayLayoutComponent` to Builder 2020-10-20 05:58:21 -07:00
SurfaceHostingComponent CKComponentLayout 2021-07-01 09:04:46 -07:00
Text Warn when negative `numberOfLines` prop set on <Text/> component 2021-08-05 12:39:09 -07:00
TurboModule Remove log info when TurboModule cannot be found 2021-05-27 10:42:34 -07:00
TypeSafety Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00
Types Make RootTag an opaque type 2021-04-26 22:57:55 -07:00
Utilities chore: update Dimensions API Flow types (#31898) 2021-08-03 03:15:42 -07:00
Vibration Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00
WebSocket Migrate remaining modules using NativeEventEmitter to only pass the native module on iOS 2021-04-12 06:27:20 -07:00
Wrapper Back out "Rename measure to measureContent and pass it LayoutContext" 2020-03-04 05:01:53 -08:00
YellowBox pre-suppress this typing errors ahead of 154 2021-06-11 14:31:41 -07:00
__flowtests__ Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
vendor EventEmitter: Deprecate `removeSubscription` 2021-04-12 12:43:07 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Conditionalize Promise Polyfill for Hermes 2020-10-19 15:24:38 -07:00
UTFSequence.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
promiseRejectionTrackingOptions.js pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00