Janic Duplessis 1658f36630 Improve z-index implementation on iOS
Summary:
This avoids reordering views because it created some bugs when the native hierarchy is different from the shadow views. This leverages `layer.zPosition` and takes z-index in consideration when we check what view should be the target of a touch.

**Test plan**
Tested that this fixes some layout issues that occurred when using sticky headers in the Expo home screen.
Closes https://github.com/facebook/react-native/pull/14011

Differential Revision: D5108437

Pulled By: shergin

fbshipit-source-id: 0abfe85666e9d236a190e6f54cdd5453cacfbcac
2017-05-28 21:45:32 -07:00
..
2016-01-07 12:03:17 -08:00
2016-08-10 13:13:34 -07:00
2016-11-18 14:43:31 -08:00
2016-09-08 17:58:50 -07:00
2017-03-23 11:36:17 -07:00
2017-05-24 11:45:46 -07:00
2017-03-23 11:36:17 -07:00