Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions nativescript-core/ui/text-view/text-view.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class NoScrollAnimationUITextView extends UITextView {
export class TextView extends TextViewBaseCommon {
nativeViewProtected: UITextView;
private _delegate: UITextViewDelegateImpl;
private _isShowingHint: boolean;
_isShowingHint: boolean;
public _isEditing: boolean;

private _hintColor = (majorVersion <= 12 || !UIColor.placeholderTextColor) ? UIColor.blackColor.colorWithAlphaComponent(0.22) : UIColor.placeholderTextColor;
Expand Down Expand Up @@ -129,7 +129,9 @@ export class TextView extends TextViewBaseCommon {
}

public textViewShouldBeginEditing(textView: UITextView): boolean {
this.showText();
if (this._isShowingHint) {
this.showText();
}

return true;
}
Expand Down