We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6081343 commit fe11456Copy full SHA for fe11456
nativescript-core/ui/text-view/text-view.ios.ts
@@ -88,7 +88,7 @@ class NoScrollAnimationUITextView extends UITextView {
88
export class TextView extends TextViewBaseCommon {
89
nativeViewProtected: UITextView;
90
private _delegate: UITextViewDelegateImpl;
91
- private _isShowingHint: boolean;
+ _isShowingHint: boolean;
92
public _isEditing: boolean;
93
94
private _hintColor = (majorVersion <= 12 || !UIColor.placeholderTextColor) ? UIColor.blackColor.colorWithAlphaComponent(0.22) : UIColor.placeholderTextColor;
@@ -129,7 +129,9 @@ export class TextView extends TextViewBaseCommon {
129
}
130
131
public textViewShouldBeginEditing(textView: UITextView): boolean {
132
- this.showText();
+ if (this._isShowingHint) {
133
+ this.showText();
134
+ }
135
136
return true;
137
0 commit comments