Skip to content

Commit 923d48b

Browse files
Alexander VakrilovSvetoslavTsenov
authored andcommitted
fix: layoutParent crash with ProxyViewContainer (#5315)
1 parent 9eb341b commit 923d48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tns-core-modules/ui/core/view/view.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ export namespace ios {
688688
return;
689689
}
690690

691-
if (view instanceof View) {
691+
if (view instanceof View && view.nativeViewProtected) {
692692
const frame = view.nativeViewProtected.frame;
693693
const origin = frame.origin;
694694
const size = frame.size;

0 commit comments

Comments
 (0)