mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Summary: Here is a showcase of 2 bugs that are fixed with this PR: touchability of title, touchability of overlapped top-right positionned (under the navbar). (i'm using the inspector)  I have a navbar with a back button, a Title area with a **Green Circle**, a Right area with nothing inside. In my Screen View, I've positioned in absolute a **Red Rectangle** just on the top-right corner under the navbar. I want my **Green Circle** and **Red Rectangle** to be touchable but in current React Native version, this is not possible: as shown in the gif, the 3 LeftButton/Title/RightButton wrapper View are **catching the touch events**. My PR allows events to go through these wrapper View. **After the fix:**  Complementary Notes: - in the case of the Red Rectangle, only the lower part of it i Closes https://github.com/facebook/react-native/pull/4786 Reviewed By: svcscm Differential Revision: D2760205 Pulled By: androidtrunkagent fb-gh-sync-id: 55bb141c8f61ab537ff9e832b65b04cb904dfeb9