react-native/Libraries/CustomComponents/Navigator
Kyle Corbitt bafc506f7c Ignore Navigator touch events for background buttons
Summary:Currently, if the Navigator with the default `NavigatorNavigationBar` has two scenes on its `routeStack` and the bottom one defines a `RightButton` but the top one doesn't, a touch to the location of the underlying  `RightButton` will trigger its action.

This fix checks if the button's opacity is set to 0 (indicating it has been transitioned off the scene and shouldn't be interacted with) and ignores touch events if so.
Closes https://github.com/facebook/react-native/pull/5624

Differential Revision: D3139553

fb-gh-sync-id: 6d6da1459e289499b6d8769120a3b6114548c090
fbshipit-source-id: 6d6da1459e289499b6d8769120a3b6114548c090
2016-04-05 11:33:27 -07:00
..
Navigation nested emit call in a queue should be handled in FIFO 2016-03-03 18:57:52 -08:00
Navigator.js - added available SceneConfigs to Navigator docs 2016-04-01 09:03:25 -07:00
NavigatorBreadcrumbNavigationBar.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
NavigatorBreadcrumbNavigationBarStyles.android.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorBreadcrumbNavigationBarStyles.ios.js fix navigator lint warnings 2015-11-30 19:31:30 -08:00
NavigatorNavigationBar.js Ignore Navigator touch events for background buttons 2016-04-05 11:33:27 -07:00
NavigatorNavigationBarStylesAndroid.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorNavigationBarStylesIOS.js Fix Navigator.NavigationBar Title interactivity 2015-12-15 12:02:27 -08:00
NavigatorSceneConfigs.js FloatFromLeft scene configuration fixed. HorizontalSwipeJumpFromRight… 2015-12-16 15:08:44 -08:00