react-native/Libraries/CustomComponents/Navigator
Fred Liu b3886652ab Fix navigation jump on multi-tap
Summary:
On iOS, if a non-selected breadcrumb is tapped multiple times, the navigator will transition to the tapped breadcrumb, then back to the previously selected breadcrumb. Then, when another breadcrumb is tapped, it would go to the previously multi-tapped breadcrumb.

This seems to be because transitions are queued when they shouldn't be. I've reverted to the way it was before PR 8701, but added a `transitionQueue.length === 0`. This should solve the race condition from 8701, ensuring all transitions in the queue are flushed in sequence, and thus landing on the finally tapped one.

Reviewed By: hedgerwang

Differential Revision: D3469901

fbshipit-source-id: 0143a27d6c875d47d28b77eed4e5a28b1c40c8bb
2016-06-22 11:13:26 -07:00
..
Navigation Fix typo (shoud -> should) 2016-06-04 16:43:41 -07:00
Navigator.js Fix navigation jump on multi-tap 2016-06-22 11:13:26 -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 change leftButton init position 2016-06-06 07:28:24 -07:00
NavigatorSceneConfigs.js Navigator.SceneConfigs.PushFromRight similar to native iOS animation. 2016-04-15 18:23:29 -07:00