Scott Brady
e402eba3a7
Reset specific StackRouter with key ( #789 )
...
* First test
* Allow a key to be passed for which scene should handle the action
* Adding key to NavigationResetAction
* Added test
* Add reset test with key
* Only apply this change if it is a RESET action
* Fix logic error, only check if the action is null if it is a RESET
2017-04-04 17:26:37 -07:00
Michel Maubert
e8726c1e68
add jest config for react-navigation in docs ( #256 ) ( #331 )
...
* add jest config for react-navigation in docs (#256 )
* Docs: Update redux-integration guide #246
2017-04-04 10:02:21 -07:00
Sabbir Ahmed
83f8a44219
Docs: Added clarification for header configuration ( #891 )
2017-04-03 07:07:47 +05:30
Bruno Lemos
3eb7b12f85
Fix gesturesEnabled regression ( #886 )
...
Closes #818
Regression caused by 11cab8eab6
2017-04-02 08:15:49 +05:30
Daniel Schmidt
8c9a626401
bump react-native-drawer-layout-polyfill ( #882 )
...
includes access to the accessabilityView options and
a fix for #871 (adjusted zIndex)
2017-04-01 20:40:41 +05:30
Juwan Wheatley
b0c05e5977
Fix rebase commands ( #870 )
2017-03-30 23:28:09 +05:30
Grzegorz Mandziak
3cee5c30fa
Possibility to overwrite label's style if defined as string. ( #731 )
...
* Added option to overwrite label style for only if label is as string defined in navigationOptions in DrawerNavigation.
* update doc for labelStyle prop
* change title to label
2017-03-30 09:20:56 +05:30
Bernhard
84d284d591
add example for DrawerNavigatorConfig ( #552 )
...
* add example for DrawerNavigatorConfig
* add explanation for the example
2017-03-30 09:16:29 +05:30
Stoicescu Cristi
05f0361971
Workaround for screenProps in TabViewAnimated ( #862 )
2017-03-30 09:07:06 +05:30
PhpGuyZim
8196f62335
Update Guide-Nested.md ( #813 )
...
* Update Guide-Nested.md
Docs do not indicate that you must import the necessary module.
* Update Guide-Nested.md
2017-03-29 00:36:21 -07:00
Neo
7edd9a79aa
remove ReactComponentWithPureRenderMixin ( #809 )
...
`ReactComponentWithPureRenderMixin` is useless in this file, and it has been removed from the core of latest `react`
build fails on master branch of `react-native` for this error
2017-03-29 00:34:10 -07:00
Javier Olaechea
65e71042d5
Docs: Update md links from coodoo's fork to react-community ( #750 )
2017-03-22 13:51:16 -07:00
Elliott Ro
dff746a83c
Navigation Actions Doc ( #338 )
...
* Initial saving
* Updated docs
* Adding navigation actions into website App.js
* Updated navigation prop structure
* Added in missing link
2017-03-22 12:10:34 -07:00
Cai Leao
498f329005
Update documentation regarding DrawerNavigator
customisation ( #646 )
...
* Update documentation regarding `DrawerNavigator` customisation
* Updated docs as requested in the PR.
2017-03-22 12:09:10 -07:00
Alejandro Garcia
0f19a0bddf
Fix flow in Navigation Playground ( #735 )
2017-03-22 12:08:08 -07:00
Juwan Wheatley
a268d67b53
Adds documentation about forking and syncing repo ( #765 )
2017-03-22 05:42:18 +05:30
Karan Thakkar
c5f2475182
fix(docs): Fix incorrect style in TabNavigator sample ( #734 )
...
The example provides styling for the tab icon via the `icon` property in the styles object. However in the example, it is used as `tabIcon` which does not exist.
2017-03-19 17:43:15 +05:30
mbaroukh
0820366a1c
correction of a few documentation typo ( #563 )
2017-03-16 15:35:53 -07:00
Yann Pringault
255a4361aa
Fix typo in docs for getComponentForRouteName ( #714 )
2017-03-16 15:30:02 -07:00
Javier Olaechea
da5ec61027
Drawer sidebar description ( #617 )
...
* Fix typo in DrawerScreen.js
* Fix the description of the DrawerSidebar Component
2017-03-16 11:57:40 -07:00
Christoph Jerolimov
b009db9446
Remove 2nd return statement ( #661 )
2017-03-16 11:56:50 -07:00
Adam Miskiewicz
11cab8eab6
Resolve gesture issues in CardStack
2017-03-15 16:03:09 -07:00
Adam Miskiewicz
619a06c8cd
Update dependencies
2017-03-15 16:02:49 -07:00
Satyajit Sahoo
00972a3bf5
Bump version number ( #650 )
2017-03-11 09:19:31 -08:00
Satyajit Sahoo
ecef7771e6
Update react-native-tab-view. Fixes #476 ( #641 )
v1.0.0-beta.7
2017-03-10 09:34:43 -08:00
Satyajit Sahoo
f16e634d70
Remove top margin from drawer view ( #642 )
2017-03-10 09:34:22 -08:00
YinYin Chiu
a2c9a14045
Pass transitionProps
, prevTransitionProps
and isModal
to custom TransitionConfig
( #565 )
2017-03-10 18:25:07 +05:30
juhasuni
725f6d77b0
Fix issue where initialRouteParams were not set ( #150 )
2017-03-10 18:16:30 +05:30
Daniel Schmidt
af787e56fe
move from react-native-drawer-layout to react-native-drawer-layout-polyfill
...
This enables us to use the native DrawerLayoutAndroid on android devices
2017-03-07 19:12:21 +05:30
Jordan Hayashi
eb6646f6da
Make TabNavigator code example formatting consistent ( #462 )
...
* Make TabNavigator code example formatting consistent
* Fix typo in StackRouter docs
2017-03-06 22:50:12 -08:00
Gant
37ea268d3f
screen props warning removed
2017-03-06 01:30:27 +05:30
Felipe Matos
da8f85895a
Fix typo ( #554 )
2017-03-03 16:32:59 +01:00
Mike Grabowski
e650f341e3
Change <Header /> layout back to absolute
( #562 )
2017-03-03 17:43:30 +05:30
Neo
bbab489a6a
Update Screen-Tracking.md ( #549 )
2017-03-03 12:28:58 +05:30
Taylor Hurt
99583d2a64
Update Screen-Tracking.md ( #545 )
...
* Update Screen-Tracking.md
updated names in the onNavigationStateChange example function
* Update Screen-Tracking.md
2017-03-02 16:01:50 +01:00
andrey
0c8f9f7424
Accept tabBar label to be a function ( #524 )
...
* Accept tabBar label to be a function
* label as a function in TabBarBottom
* label as a function in TabBarTop
2017-03-02 09:38:06 +01:00
Bartol Karuza
2df983516b
add import to clarify source of helper ( #517 )
...
* add import to clarify source of helper
It took me a while to figure out where 'addNavigationHelpers' comes from, maybe adding the import in the doc here will help the next guy.
* add spaces around imported value
* removed empty line
2017-03-01 13:18:08 +01:00
Mike Grabowski
e44dee158f
[Docs] Link every heading automatically ( #459 )
...
* Link every heading automatically
* Factor in nav height
* Make it like in React
2017-02-27 22:38:51 -08:00
Adam Miskiewicz
29a6564261
v1.0.0-beta.6
v1.0.0-beta.6
2017-02-27 18:40:16 -08:00
Álvaro Medina Ballester
420450c31a
Fix TabBarBottom item layout ( #499 )
...
Instead of `flexGrow`, `TabBarBottom` should use `flex` in order to match iOS HIG for UITabBar. Otherwise, if labels with different length are set, the layout of the tab bar isn't consistent with what iOS users expect (tab highlighted with red border):

After the change, this is how the tab bar looks:
<img width="429" alt="screen shot 2017-02-27 at 15 14 35" src="https://cloud.githubusercontent.com/assets/289640/23364470/7f652e76-fcff-11e6-9e84-8a0efa7d9c5d.png ">
2017-02-27 19:52:47 +05:30
Igor Ovsiannikov
fa8370b378
fix typo ( #496 )
2017-02-27 13:45:42 +01:00
Igor Ovsiannikov
1ca18dee13
Add router prop for the DrawerNavigator content component ( #487 )
2017-02-26 20:49:08 +05:30
Mike Grabowski
49133c3dfe
Fix glitches in Header when calling replace
( #418 )
...
* Change the way we store computed layout
We cannot store layouts under `index` because when calling `replace`, there are two competing layouts
on the same index, which will cause an infinite loop (are almost infinite) of flickering / jumping title.
* Disable transition at all when index didn't change
2017-02-23 22:19:56 -08:00
Mike Grabowski
26b165200f
Add onNavigationStateChange ( #453 )
...
* Support
* Revert consoleg
* Add very bad doc
* Improve docs
* Surpress flow
2017-02-23 22:18:06 -08:00
Mike Grabowski
71e8c95b34
Add React.Element support for TabBar/Drawer and fix docs ( #451 )
...
* Initial impl
* Fix up some docs and support more for drawer
* Fix comments
* Support TabBar
* Make flow more correct
* Clarify even more
* Rename all the things lol
* Also rename renderLabel to getLabel
2017-02-23 20:39:11 +05:30
Vlad Zhukov
16d57bcf40
fix ( #454 )
2017-02-23 15:35:08 +01:00
Javier Cuevas
fdb5faae7e
Fix redux documentation ( #450 )
...
I think the navigation key for the redux store should be `nav` and not `navReducer`.
2017-02-23 10:57:10 +01:00
Satyajit Sahoo
e0c1c95e6f
Remove screen tracking without redux ( #449 )
...
This is a hack and we shouldn't put it in official documentation.
2017-02-23 10:40:40 +01:00
Luke San Antonio Bialecki
423aa85354
Fix low header when scene doesn't take up entire screen ( #446 )
...
Adds a nested View around the content in CardStack so that the content expands
and puts the header bar at the top of the screen.
2017-02-23 06:47:51 +01:00
Mike Grabowski
f54578c0f9
Fix a header on Android ( #437 )
2017-02-22 12:28:53 +01:00