mirror of
https://github.com/status-im/react-native.git
synced 2025-01-12 18:44:25 +00:00
4a4e083e2a
Summary: Previously, `BaseTextShadowNode::getAttributedString` used to recurse on a list of `SharedShadowNode`s (i.e: the children). In the `RawText` base case of this recursion, we'll need to record the parent of the current `RawText` (so that we can dispatch the `onPress` event to it). Therefore, we need to start recursing using the `SharedShadowNode` itself, and not its children. Reviewed By: shergin Differential Revision: D9696908 fbshipit-source-id: dbf3f9c21a7ae4de421d0355c4e5900b3947dc2a