Eric Vicenti
c0d77dbe9c
[ReactNative] Navigator pop specify route to pop
...
Summary:
Now you can pass a route to the pop function in the navigator context, and the Navigator will pop that scene off the stack and every scene that follows.
This changes the request API that bubbles up to the top-level navigator. The `pop` request had previously taken a route for `popToRoute`, but that is a more obscure use case. This makes the request API more closely match the context method naming.
@public
Test Plan: Verified this works by popping several routes in AdsManager. Experimented with UIExplorer Navigator example to make sure popToRoute still works as expected
2015-05-01 18:11:13 -08:00
Eric Vicenti
28e6e993c6
[ReactNative] Navigator focus handler context fix
2015-05-01 17:01:58 -08:00
Eric Vicenti
5453be2ab2
[ReactNative] Fix touch issue caused by D2036644 after swiping back
2015-05-01 16:15:28 -08:00
Eric Vicenti
6abf37b47e
[ReactNative] Navigator.Interceptor handler arg fix
2015-05-01 14:20:09 -08:00
Eric Vicenti
76dc14684d
[ReactNative] Navigator block touches to non-active scenes
...
Summary:
When tapping a link quickly, it will cause two scenes to be pushed on. This prevents against that case by swallowing touches for all non-active scenes.
@public
Test Plan: Can no longer double-push scenes
2015-04-30 15:49:37 -08:00
Eric Vicenti
08ec846176
[ReactNative] Fix logic in popToRoute
2015-04-29 20:52:32 -08:00
Andy Street
c82c6a07ae
[react_native] JS files from D2027859: [react_native] Fix ToTheLeft wizard transitions
2015-04-29 04:49:43 -08:00
Eric Vicenti
349f8b942a
[ReactNative] Avoid Navigator invariant in edge case
...
Summary:
It is very rare, but sometimes there is no active gesture when the responder gets released. This will avoid a redbox in that case
@public
Test Plan: Saw the redbox. No longer see the redbox. Hardcoded missing activeGesture while responder and verified no redbox
2015-04-28 23:53:39 -08:00
Eric Vicenti
9209c444c7
[ReactNative] Androidized Navigator animations
...
Summary:
Added configurations for android-like animations, with gestures disabled.
@public
Test Plan: Tested on AdsManager Android
2015-04-28 13:10:49 -08:00
Eric Vicenti
8afdf30363
[ReactNative] Navigator refactor and improvements
2015-04-27 21:37:33 -08:00
Eric Vicenti
ec3d70e738
[ReactNative] Quiet Navigator context warning
2015-04-27 17:31:12 -08:00
Eric Vicenti
6749f88650
[ReactNative] Fix Navigator resetTo
2015-04-27 17:18:52 -08:00
Eric Vicenti
36afc46274
[ReactNative] Fix for Navigator.replacePreviousAndPop
2015-04-23 14:19:44 -08:00
Eric Vicenti
7aa413d619
[ReactNative] Fix Android back btn regression from D2010265
2015-04-22 10:06:10 -08:00
Eric Vicenti
40eeaf5b37
[ReactNative] Navigator contextual popToRoute and imperitive vs contextual docs
2015-04-21 13:27:44 -08:00
Eric Vicenti
45c10ffc53
[ReactNative] Navigator touch grant bug from D2001635
2015-04-21 11:26:53 -08:00
Andy Street
b0348edcae
[react_native] JS files from D2001635: [react_native] Use hardware layers during adsmanager Navigator navigation
2015-04-21 04:10:52 -08:00
Philipp von Weitershausen
dbe8e31c20
[ReactNative][Navigator] Remove another unnecessary use of absolute screen width
2015-04-17 15:02:48 -08:00
Eric Vicenti
e382894ef3
[ReactNative] Navigator fix BackAndroid warning on iOS
2015-04-16 10:28:19 -08:00
Eric Vicenti
b3a2d6c574
[ReactNative] Navigator initially render all scenes
2015-04-16 10:19:52 -08:00
Eric Vicenti
699a9c3e0c
[ReactNative] Fix focusing of nested Navigators
2015-04-10 17:58:30 -08:00
Eric Vicenti
75d52b0f33
[ReactNative] Avoid navigator scene renders during transition
2015-04-10 15:13:00 -08:00
Eric Vicenti
50959dd42c
[AdsManager|ReactNative] Switch to contextual request pop instead of parentNavigator
2015-04-10 12:54:07 -08:00
Eric Vicenti
839e533955
[ReactNative] Re-configure horizontal swipe animations
2015-04-08 21:13:32 -08:00
Philipp von Weitershausen
ae76d3982b
[MAdMan] Dimensions.get('window') considered harmful
2015-04-08 18:08:23 -08:00
Josh Levine
be46ccf4c4
Navigator: Changed transitioner background color to 'transparent'
...
Summary:
... for setting the transition background color between scenes. For issue #563
Closes https://github.com/facebook/react-native/pull/654
Github Author: Josh Levine <josh.levine1@gmail.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-08 16:37:26 -08:00
Eric Vicenti
009f8ebe63
[ReactNative] Fix typo/bug in Navigator._completeTransition
2015-04-07 20:35:33 -08:00
Eric Vicenti
d63bf428cd
[ReactNative] Fix Navigator exception when touching during transition
2015-04-07 19:54:34 -08:00
Eric Vicenti
ccbd656070
[AdsManager] Correct back button functionality
2015-04-07 16:07:43 -08:00
Eric Vicenti
31b6ff6d1a
[ReactNative] Replace Backstack with BackAndroid
2015-04-07 16:07:42 -08:00
Kureev Alexey
8a8244a583
navigator.getCurrentRoutes()
...
Summary:
According to our talk with @ericvicenti about `renderScene` arguments
Closes https://github.com/facebook/react-native/pull/553
Github Author: Kureev Alexey <kureev-mail@ya.ru>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-04 10:58:44 -08:00
Eric Vicenti
34ed3a0cec
[ReactNative] Start Navigator gesture config, disable gesture in AdsManager
2015-04-03 14:11:32 -08:00
Andy Street
3de7ad6c33
[react_native] JS files from D1955639: [react_native] Update AnimationsDebugModule to output more accurate FPS info
2015-04-01 08:13:53 -08:00
Eric Vicenti
5a6bf00223
[ReactNative] Rename NavigationBar props
2015-04-01 07:43:22 -08:00
Philipp von Weitershausen
db693f32a9
[ReactNative] Clean up no longer needed reference to NavigationBarClass
2015-03-30 18:33:06 -08:00
Philipp von Weitershausen
a9167a29b7
[ReactNative] PropTypes for NavigationBars
2015-03-30 14:36:25 -08:00
Tadeu Zagallo
932e600205
[ReactNative][Docs] Remove references to ReactNavigator from docs
2015-03-26 13:53:26 -08:00
Philipp von Weitershausen
bdd170568c
[ReactNative][MAdMan] Clean up after D1942269
2015-03-26 10:18:39 -08:00
Tadeu Zagallo
921da23e22
[ReactNative][CustomComponents] Update old headers
2015-03-26 09:12:48 -08:00
Eric Vicenti
f9c1a9357a
[ReactNative] Navigator docs
2015-03-26 00:34:15 -08:00
Eric Vicenti
5b8aad5fdc
[ReactNative] License headers and renaming
2015-03-26 00:34:14 -08:00
Tadeu Zagallo
558b8c65e0
[ReactNative] s/ReactNavigator/Navigator/
2015-03-25 20:20:57 -08:00