Satyajit Sahoo
fe692c2f56
feat: add headerTitleAlign prop in native stack. closes #9829
2021-08-18 14:26:20 +02:00
Brent Vatne
ec0d113eb2
fix: content container in native web stack should fill parent ( #9832 )
...
`flex: 1` needs to be set on the `View` container sits between the `Screen` component and screen contents in `NativeStackView` otherwise content on tabs nested inside native stack will not be visible, along with other similar types of bugs.
Reproducible example: https://gist.github.com/brentvatne/273d34be0c937237eb353e4100c49949
Apply the fix from this diff to see it resolves the issue.
2021-08-18 14:02:37 +02:00
Satyajit Sahoo
bc19ee7616
chore: publish
...
- @react-navigation/bottom-tabs@6.0.5
- @react-navigation/drawer@6.1.4
- @react-navigation/elements@1.1.0
- @react-navigation/material-bottom-tabs@6.0.5
- @react-navigation/native-stack@6.0.6
- @react-navigation/stack@6.0.7
2021-08-17 16:20:18 +02:00
Satyajit Sahoo
651d8e5726
fix: fix status bar handling with modal presentation
2021-08-17 16:18:38 +02:00
Satyajit Sahoo
ece03d7177
fix: don't try to parse header tint color if not a string
...
closes #9822
2021-08-17 16:07:59 +02:00
Satyajit Sahoo
f54cafbb33
fix: handle statusbar height for stack nested in modal. closes #9790
2021-08-17 16:01:07 +02:00
Emad Aldeen Hajjar
f73aa55fb2
feat(elements): add style to SafeAreaProviderCompat props ( #9793 )
2021-08-17 15:24:25 +02:00
Ted de Koning
5bcf79c722
fix: add check when accessing next descriptor ( #9824 )
2021-08-17 15:23:32 +02:00
Satyajit Sahoo
80a8567618
chore: add pager view to workflows
2021-08-16 13:57:54 +02:00
Satyajit Sahoo
56984a45a3
chore: publish
...
- @react-navigation/drawer@6.1.3
2021-08-12 01:34:22 +02:00
Satyajit Sahoo
f8fddac79d
fix: use correct tint and background color from drawer items
2021-08-12 01:34:05 +02:00
Satyajit Sahoo
89e8271927
chore: publish
...
- @react-navigation/bottom-tabs@6.0.4
- @react-navigation/drawer@6.1.2
- @react-navigation/elements@1.0.4
- @react-navigation/material-bottom-tabs@6.0.4
- @react-navigation/native-stack@6.0.5
- @react-navigation/stack@6.0.6
2021-08-12 01:18:30 +02:00
Satyajit Sahoo
42c43ff761
fix: fix headerTransparent not working outside stack navigator
2021-08-12 01:15:31 +02:00
Satyajit Sahoo
2e47c42e9f
chore: publish
...
- @react-navigation/stack@6.0.5
2021-08-12 00:18:12 +02:00
Satyajit Sahoo
8c89c45be4
fix: show deprecation warning for 'keyboardHandlingEnabled' prop
2021-08-12 00:17:25 +02:00
Satyajit Sahoo
0cc96d5ff1
chore: update issue template
2021-08-11 13:20:27 +02:00
Satyajit Sahoo
78560d858f
chore: publish
...
- @react-navigation/bottom-tabs@6.0.3
- @react-navigation/drawer@6.1.1
- @react-navigation/elements@1.0.3
- @react-navigation/material-bottom-tabs@6.0.3
- @react-navigation/native-stack@6.0.4
- @react-navigation/stack@6.0.4
2021-08-10 01:49:49 +02:00
Satyajit Sahoo
bacdbbdd7c
fix: avoid overflowing long titles
2021-08-10 01:48:32 +02:00
Satyajit Sahoo
9613cbe680
refactor: add description to headerTitle and headerLeft
2021-08-10 00:40:04 +02:00
Vojtech Novak
a79ce57aa7
fix: pass onlayout to headerTitle ( #9808 )
...
similar to https://github.com/react-navigation/react-navigation/pull/9806 but for headerTitle's onlayout prop
2021-08-10 00:26:12 +02:00
Vojtech Novak
22799fc96e
fix: pass all props to custom headerLeft ( #9806 )
...
closes #9805
2021-08-10 00:25:42 +02:00
Satyajit Sahoo
b0130570be
chore: publish
...
- @react-navigation/stack@6.0.3
2021-08-09 10:22:54 +02:00
Satyajit Sahoo
4d8a7ee7e4
fix: consider all next headers instead of immediate next
...
fixes #9797
2021-08-09 10:17:37 +02:00
Satyajit Sahoo
d17bf146ee
chore: publish
...
- @react-navigation/bottom-tabs@6.0.2
- @react-navigation/drawer@6.1.0
- @react-navigation/elements@1.0.2
- @react-navigation/material-bottom-tabs@6.0.2
- @react-navigation/material-top-tabs@6.0.2
- @react-navigation/native-stack@6.0.3
- @react-navigation/native@6.0.2
- @react-navigation/stack@6.0.2
2021-08-07 15:15:18 +02:00
Kazuaki Horita
ebb5f24664
feat: use forwardRef with DrawerContentScrollView ( #9695 )
...
Closes #9350
2021-08-07 15:12:06 +02:00
Satyajit Sahoo
40dcbcf2fa
fix: avoid blink when switching tab screens
2021-08-07 15:05:55 +02:00
Satyajit Sahoo
0f5868f64d
refactor: consolidate modal checks
2021-08-07 15:03:37 +02:00
Alexander
99735e1b73
fix: blink while switching screens ( #9705 )
...
Fix to prevent showing blank screen while screens switching process.
Currently we can see it using dark background color in screens.
This fix also makes clear work with eager loading of screens (`detachInactiveScreens={false}` `lazy={false}`).
2021-08-07 15:03:16 +02:00
Giannis Macheras
dfd0cc78fe
fix: fix crash in useLinkTo when passing an object ( #9800 )
...
When an object was passed to the `to` parameter in `useLinkTo`, an error message would be thrown (Cannot find property 'root'). Apparently, this was introduced in commit 1d40279 , where the `root` variable was removed.
2021-08-07 13:34:03 +02:00
Satyajit Sahoo
3aab9fd05e
chore: update issue template config
2021-08-05 18:32:16 +02:00
Satyajit Sahoo
d6a3ca5967
chore: publish
...
- @react-navigation/native-stack@6.0.2
2021-08-05 18:25:00 +02:00
Satyajit Sahoo
1da575e0e7
fix: fix incorrect name for headerTransparent
2021-08-05 18:21:15 +02:00
Satyajit Sahoo
e299167e10
chore: publish
...
- @react-navigation/bottom-tabs@6.0.1
- @react-navigation/core@6.0.1
- @react-navigation/devtools@6.0.1
- @react-navigation/drawer@6.0.1
- @react-navigation/elements@1.0.1
- flipper-plugin-react-navigation@1.3.4
- @react-navigation/material-bottom-tabs@6.0.1
- @react-navigation/material-top-tabs@6.0.1
- @react-navigation/native-stack@6.0.1
- @react-navigation/native@6.0.1
- @react-navigation/routers@6.0.1
- @react-navigation/stack@6.0.1
2021-08-03 11:37:45 +02:00
Satyajit Sahoo
80867722c5
Revert "fix: don't merge initial params when merge !== true"
...
This reverts commit 54b215b9d3 .
2021-08-03 11:36:37 +02:00
Satyajit Sahoo
98fa233014
fix: preserve params when switching tabs. fixes #9782
2021-08-03 11:35:19 +02:00
Zhigang Fang
be8532c086
fix: add merge to the navigate types ( #9777 )
2021-08-03 11:24:17 +02:00
Ethan Neff
8f4daef5b3
docs: update docs to react navigation 6 ( #9779 )
2021-08-03 11:21:32 +02:00
Satyajit Sahoo
2084fb859f
chore: publish
...
- @react-navigation/bottom-tabs@6.0.0
- @react-navigation/core@6.0.0
- @react-navigation/devtools@6.0.0
- @react-navigation/drawer@6.0.0
- @react-navigation/elements@1.0.0
- flipper-plugin-react-navigation@1.3.3
- @react-navigation/material-bottom-tabs@6.0.0
- @react-navigation/material-top-tabs@6.0.0
- @react-navigation/native-stack@6.0.0
- @react-navigation/native@6.0.0
- @react-navigation/routers@6.0.0
- @react-navigation/stack@6.0.0
2021-08-02 00:53:11 +02:00
Satyajit Sahoo
3ce4276a39
chore: prepare for stable release of 6.x
2021-08-02 00:49:38 +02:00
Satyajit Sahoo
1a39632656
feat: add custom header option to native-stack
2021-08-01 16:30:07 +02:00
Wojciech Lewicki
20abccda0d
feat: expose header height in native-stack ( #9774 )
2021-08-01 16:04:25 +02:00
Satyajit Sahoo
de84458960
feat: basic web implementation for native stack
2021-08-01 15:30:36 +02:00
Satyajit Sahoo
73277d533c
chore: upgrade react-native-tab-view
2021-07-31 03:04:58 +02:00
Satyajit Sahoo
8a95fb588b
fix: remove dep on react-native-iphonex-helper
2021-07-31 01:25:15 +02:00
Satyajit Sahoo
6d518a46b8
fix: show error when beforeRemove is used to prevent action in naive stack
2021-07-28 15:31:27 +02:00
Satyajit Sahoo
d2d7f8d95e
fix: clear options set from a screen when it unmounts. closes #9756
2021-07-28 14:47:09 +02:00
Satyajit Sahoo
51b636d726
fix: match native iOS header height in stack
2021-07-28 14:12:43 +02:00
Satyajit Sahoo
9506ad1f00
fix: add deprecation warning for openByDefault
2021-07-28 12:56:08 +02:00
Satyajit Sahoo
5bfc39668b
feat: move some props to screenOptions in material top tabs
2021-07-28 12:49:28 +02:00
Satyajit Sahoo
fdb3ede3e0
feat: add tabBarBadge and tabBarIndicator options for material top tabs
2021-07-28 11:58:34 +02:00