react-native-macos/ReactCommon
Samuel Susla bbd91446dd Include transform property when calling getRelativeLayoutMetrics
Summary:
Changelog: [Internal]

Current implementation of `measure` doesn't take transform into account..

So if you had a view which has width and height 100 and had `Scale(0.5, 0.5, 1)` (this will shrink view by half). Calling `getRelativeLayoutMetrics` would report its size being `{100, 100}`.
This applies if view's parent has transformation as well, because transformation is applied to all subviews of the view as well.

Reviewed By: mdvacca

Differential Revision: D20621590

fbshipit-source-id: 2cf902a0494291c821ecada56f810c5e6620db5a
2020-03-30 04:03:57 -07:00
..
better Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
callinvoker make RN infra labels public 2020-02-28 12:46:49 -08:00
config Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
cxxreact Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
fabric Include transform property when calling getRelativeLayoutMetrics 2020-03-30 04:03:57 -07:00
hermes Replace fbsource// with // in xplat/js/ files [4] 2020-03-26 01:12:50 -07:00
jscallinvoker The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
jsengineinstance The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
jsi Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
jsiexecutor Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
jsinspector make RN infra labels public 2020-02-28 12:46:49 -08:00
microprofiler make RN infra labels public 2020-02-28 12:46:49 -08:00
turbomodule Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
utils Replace fbsource// with // in xplat/js/ files [1] 2020-03-25 21:55:47 -07:00
yoga chore: fix typo in comments (#28269) 2020-03-09 15:37:33 -07:00
React-Fabric.podspec Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
ReactCommon.podspec Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
common.mk More robust hermes-engine lookup logic in makefiles (#26820) 2019-10-14 19:21:43 -07:00