You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The grid totally breaks down and the row somehow displayed 20 pixels from the right edge of the screen.
Basically - if you put a Row element through a custom component the grid breaks. Can't understand why...
I use React Native 0.62
The text was updated successfully, but these errors were encountered:
If I do something like:
<Grid> <Row> <Col> <Text>1</Text> </Col> </Row> <Row> <Col> <Text>2</Text> </Col> </Row> </Grid>
everything is working fine.
BUT - if I do something like:
<Grid> <MyHeader /> <Row> <Col> <Text>2</Text> </Col> </Row> </Grid>
And MyHeader is:
const MyHeader = () => { return ( <Row> <Col> <Text>1</Text> </Col> </Row> ) }
The grid totally breaks down and the row somehow displayed 20 pixels from the right edge of the screen.
Basically - if you put a Row element through a custom component the grid breaks. Can't understand why...
I use React Native 0.62
The text was updated successfully, but these errors were encountered: