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:
@@ -60,6 +60,7 @@ export class TextBase extends TextBaseCommon {
|
||||
super.resetNativeView();
|
||||
// We reset it here too because this could be changed by multiple properties - whiteSpace, secure, textTransform
|
||||
this.nativeView.setTransformationMethod(this._defaultTransformationMethod);
|
||||
this._defaultTransformationMethod = null;
|
||||
}
|
||||
|
||||
[textProperty.getDefault](): string {
|
||||
|
||||
Reference in New Issue
Block a user