mirror of
https://github.com/react/react-native.git
synced 2026-10-07 04:12:13 +08:00
Summary: The new implementation of z-index did not handle touches properly. This fixes it by using the mapped child index like we do in `getChildDrawingOrder` in `TouchTargetHelper`. **Test plan** Tested that touchables work properly inside sticky headers (it uses z-index) on Android. Closes https://github.com/facebook/react-native/pull/13705 Reviewed By: AaaChiuuu Differential Revision: D4987964 Pulled By: sahrens fbshipit-source-id: 165f98e23d2f304c4dc87f536c22b68a8923d806