fix(ios): ensure PFLAG_FORCE_LAYOUT before performLayout (#10011)

This commit is contained in:
farfromrefuge
2022-09-11 21:27:51 +02:00
committed by GitHub
parent 405904c542
commit e7e3bd2bb0

View File

@ -74,8 +74,8 @@ export class View extends ViewCommon implements ViewDefinition {
}
public requestLayout(): void {
super.requestLayout();
this._privateFlags |= PFLAG_FORCE_LAYOUT;
super.requestLayout();
const nativeView = this.nativeViewProtected;
if (nativeView && nativeView.setNeedsLayout) {