mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: layoutParent crash with ProxyViewContainer (#5315)
This commit is contained in:
committed by
Svetoslav
parent
9eb341bcb5
commit
923d48b23a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user