react-native/Libraries/CustomComponents/Navigator
Adam Comella 54e947152f Navigator: null check on gesture.overswipe to prevent crash
Summary:
Sometimes, `gesture.overswipe` can be `null`/`undefined` in `_moveAttachedGesture` resulting in a crash. This change adds a null check to avoid the crash. `_matchGestureAction` has a similar check so it looks like this case was overlooked in `_moveAttachedGesture`.

**Test plan (required)**

My team's app is using this change.

Adam Comella
Microsoft Corp.
Closes https://github.com/facebook/react-native/pull/11017

Differential Revision: D4207277

Pulled By: ericvicenti

fbshipit-source-id: a22817c2ebec1c996583269a59d6767f5713771b
2016-11-20 15:28:31 -08:00
..
Navigation Cleanup: Remove `@typechecks` 2016-10-12 19:28:42 -07:00
Navigator.js Navigator: null check on gesture.overswipe to prevent crash 2016-11-20 15:28:31 -08:00
NavigatorBreadcrumbNavigationBar.js Remove duplicated call from NavigatorSceneConfigs 2016-10-10 17:44:28 -07: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 Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
NavigatorNavigationBarStylesAndroid.js Export per-platform NavigatorNavigationBarStyles for consistent styling 2015-10-10 15:32:46 -07:00
NavigatorNavigationBarStylesIOS.js change leftButton init position 2016-06-06 07:28:24 -07:00
NavigatorSceneConfigs.js Add a new Navigator SceneConfig swipeFromLeft 2016-11-10 08:13:57 -08:00