react-native-macos/ReactCommon
Samuel Susla 412fc7d324 Prevent calling onTextLayout with the same value
Summary:
Changelog: [internal]

In D23648430 (a315e4cd30) I made a mistake. I prevented calling `onTextLayout` unless there are attachments in the component. It fixed the problem because I unintentionally prevented `onTextLayout`  to be called. Therefore, changes from D23648430 (a315e4cd30) need to be reverted.

To prevent infinite loop in `onTextLayout`, ParagraphEventEmitter checks if `linesMeasurements` have changed before dispatching it to JS.

Reviewed By: shergin

Differential Revision: D23782717

fbshipit-source-id: 0e84ae4f46d79ce0cf4c7340cd32be6f562ae179
2020-09-20 08:18:55 -07:00
..
better Extend 'better' module to compile in OSS 2020-08-06 11:53:04 -07:00
callinvoker use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
cxxreact Upstream RN macOS Hermes integration bits (#29748) 2020-08-27 01:18:33 -07:00
hermes Make the preemptive compilation threshold configurable 2020-09-14 12:41:14 -07:00
jsengineinstance The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
jsi Add cause to jsi::instrumentation::collectGarbage 2020-09-18 10:36:19 -07:00
jsiexecutor Add cause to jsi::instrumentation::collectGarbage 2020-09-18 10:36:19 -07:00
jsinspector Allow Hermes to be built as a DLL on Windows 2020-08-24 06:07:19 -07:00
libraries/fbcore/src/test/java/com/facebook/powermock Fix RN OSS build (#29221) 2020-06-25 11:09:42 -07:00
microprofiler use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
react Prevent calling onTextLayout with the same value 2020-09-20 08:18:55 -07:00
reactperflogger Implement asyncMethodCallFail 2020-07-31 12:49:14 -07:00
runtimeexecutor use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
yoga Tweak stdlib imports in event, utils 2020-08-03 09:28:21 -07:00
React-Fabric.podspec Upstream RN macOS Hermes integration bits (#29748) 2020-08-27 01:18:33 -07:00
ReactCommon.podspec Move TurboModule Core from ReactCommon/turbomodule to ReactCommon/react/nativemodule 2020-09-19 00:42:30 -07:00
common.mk More robust hermes-engine lookup logic in makefiles (#26820) 2019-10-14 19:21:43 -07:00