mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
fix: fix ios hmr (#8559)
This commit is contained in:
@ -61,7 +61,7 @@ export class View extends ViewCommon implements ViewDefinition {
|
|||||||
this._privateFlags |= PFLAG_FORCE_LAYOUT;
|
this._privateFlags |= PFLAG_FORCE_LAYOUT;
|
||||||
|
|
||||||
const nativeView = this.nativeViewProtected;
|
const nativeView = this.nativeViewProtected;
|
||||||
if (nativeView) {
|
if (nativeView && nativeView.setNeedsLayout) {
|
||||||
nativeView.setNeedsLayout();
|
nativeView.setNeedsLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user