fix: layoutParent crash with ProxyViewContainer (#5315)

This commit is contained in:
Alexander Vakrilov
2018-01-24 18:27:00 +02:00
committed by Svetoslav
parent 9eb341bcb5
commit 923d48b23a

View File

@@ -688,7 +688,7 @@ export namespace ios {
return;
}
if (view instanceof View) {
if (view instanceof View && view.nativeViewProtected) {
const frame = view.nativeViewProtected.frame;
const origin = frame.origin;
const size = frame.size;