-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS][v41.1] Invalid Layout setting width on View #5
Comments
Also getting this a lot. Apparently when component views get recycled and have to be redrawn. In my case it's happening on what I'm assuming is the y/height properties (in your case it's x/width). |
@zeh, are you getting this on both the simulator and device or have you checked that? My device is Android :( |
@ssomnoremac iOS Simulator only (haven't tested anywhere else). I have this on pure RN though. It seems to be a lower level issue. |
@zeh that's interesting, because in my case if I use RN View it's fine, but Row throws the error. In any case, I fixed it using |
Invalid layout for (27)<RCTView: 0x7fe4f2446300; reactTag: 27; frame = (0 0; 0 0); layer = <CALayer: 0x60800002f7e0>>. position: {nan, 111.25}. bounds: {{0, 0}, {nan, 222.5}}
For some reason setting the width on two or more View sibling components results in this error. Using the core RN View this isn't the case.
This and this. Real strange. Seems to affect >39.
To reproduce:
The text was updated successfully, but these errors were encountered: