react-native/ReactCommon/fabric/textlayoutmanager
Ramanpreet Nara 7eb82f32a2 Implement onPress for Virtual Text nodes
Summary:
When text nodes are nested, as below, `onPress` handlers need to be correctly invoked:
```
render() {
  return (
    <Text onPress={() => console.warn('hi')}>
      hi
      <Text onPress={() => console.warn('ramanpreet')}>ramanpreet</Text>
    </Text>
  );
}
```

In the above example, clicking on "hi" should warn "hi", and clicking on "ramanpreet" should warn "ramanpreet". This diff implements that behaviour.

Reviewed By: shergin

Differential Revision: D9696905

fbshipit-source-id: 2daf24e76c3b3c37aa36cd1540e54876a367faf7
2018-09-10 11:41:36 -07:00
..
platform Implement onPress for Virtual Text nodes 2018-09-10 11:41:36 -07:00
tests Fabric/Text: textlayoutmanager 2018-05-07 19:05:53 -07:00
BUCK Remove unused loads from build files. 2018-08-31 18:03:07 -07:00