mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Disable recycling of native views
createNativeView will set iOS nativeView if it is null/undefined
This commit is contained in:
@@ -7,7 +7,7 @@ export class StackLayoutBase extends LayoutBase implements StackLayoutDefinition
|
||||
public orientation: "horizontal" | "vertical";
|
||||
}
|
||||
|
||||
StackLayoutBase.prototype.recycleNativeView = true;
|
||||
// StackLayoutBase.prototype.recycleNativeView = true;
|
||||
|
||||
export const orientationProperty = new Property<StackLayoutBase, "horizontal" | "vertical">({
|
||||
name: "orientation", defaultValue: "vertical", affectsLayout: isIOS,
|
||||
|
||||
Reference in New Issue
Block a user