mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
Suggest flex: 1 for embedded navigator (#2639)
This commit is contained in:
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.
|
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
|
```js
|
||||||
class NavigatorWrappingScreen extends React.Component {
|
class NavigatorWrappingScreen extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user