GeekyAnts / GeekyAnts/react-native-easy-grid

Grid stops working when adding Row Col using child component

Open
#103 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
165
PR merge metrics
No merged PRs in 30d

Description

If I do something like:
`



1




2

`
everything is working fine.

BUT - if I do something like:
`




2

`

And MyHeader is:

`
const MyHeader = () => {
return (


1


)
}`

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.