mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Suggest flex: 1 for embedded navigator (#2639)
This commit is contained in:
committed by
Spencer Carli
parent
81d8d91085
commit
c08be7fb43
@@ -90,6 +90,8 @@ const SimpleApp = StackNavigator({
|
||||
```
|
||||
In this case, the NavigatorWrappingScreen is not a navigator, but it renders a navigator as part of its output.
|
||||
|
||||
If this navigator renders blank then change `<View>` to `<View style={{flex: 1}}>`.
|
||||
|
||||
```js
|
||||
class NavigatorWrappingScreen extends React.Component {
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user