Skip to content

Commit 446163d

Browse files
fix: fix ios hmr (#8559)
1 parent f2fb097 commit 446163d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎nativescript-core/ui/core/view/view.ios.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class View extends ViewCommon implements ViewDefinition {
6161
this._privateFlags |= PFLAG_FORCE_LAYOUT;
6262

6363
const nativeView = this.nativeViewProtected;
64-
if (nativeView) {
64+
if (nativeView && nativeView.setNeedsLayout) {
6565
nativeView.setNeedsLayout();
6666
}
6767

0 commit comments

Comments
 (0)