mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: # Changes 1. Fixes a bug when calling `LayoutableShadowNode::getRelativeLayoutMetrics` with `this` being the same node as ancestor. 2. Refactors logic that increments `layoutMetric.frame.origin` by iterating through ancestors. Changelog: [Internal] Reviewed By: shergin Differential Revision: D19468690 fbshipit-source-id: 5b9e187adc26a206da035e4387bb5f528aabdbb2