mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 04:18:52 +08:00 
			
		
		
		
	fix(ios): ensure PFLAG_FORCE_LAYOUT before performLayout (#10011)
				
					
				
			This commit is contained in:
		@ -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) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user